[Com0com-cvs] com0com/setup inffile.cpp,1.3,1.4
The virtual serial port driver for Windows.
Brought to you by:
vfrolov
From: Vyacheslav F. <vf...@us...> - 2007-06-15 09:45:59
|
Update of /cvsroot/com0com/com0com/setup In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv11745 Modified Files: inffile.cpp Log Message: Increased list size for SetupGetInfFileList() Index: inffile.cpp =================================================================== RCS file: /cvsroot/com0com/com0com/setup/inffile.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** inffile.cpp 14 Jun 2007 16:11:01 -0000 1.3 --- inffile.cpp 15 Jun 2007 09:45:50 -0000 1.4 *************** *** 20,23 **** --- 20,26 ---- * * $Log$ + * Revision 1.4 2007/06/15 09:45:50 vfrolov + * Increased list size for SetupGetInfFileList() + * * Revision 1.3 2007/06/14 16:11:01 vfrolov * Added Scan INF files progress indication *************** *** 420,423 **** --- 423,427 ---- Trace("..."); + size += 256; // possible new INF files were added since char *pList = (char *)LocalAlloc(LPTR, size*sizeof(pList[0])); *************** *** 428,432 **** Trace("\n"); ! ShowError(MB_OK|MB_ICONSTOP, err, "SetupGetInfFileList()"); LocalFree(pList); return FALSE; --- 432,436 ---- Trace("\n"); ! ShowError(MB_OK|MB_ICONSTOP, err, "SetupGetInfFileList(%lu)", (unsigned long)size); LocalFree(pList); return FALSE; *************** *** 437,441 **** Trace("\n"); ! ShowError(MB_OK|MB_ICONSTOP, err, "LocalAlloc()"); return FALSE; } --- 441,445 ---- Trace("\n"); ! ShowError(MB_OK|MB_ICONSTOP, err, "LocalAlloc(%lu)", (unsigned long)size); return FALSE; } |