- Timestamp:
- Dec 20, 2008, 5:22:16 AM (17 years ago)
- Location:
- trunk/dll
- Files:
-
- 11 edited
-
dirsize.c (modified) (4 diffs)
-
draglist.c (modified) (1 diff)
-
droplist.c (modified) (2 diffs)
-
eas.c (modified) (3 diffs)
-
filldir.c (modified) (10 diffs)
-
filter.c (modified) (1 diff)
-
findrec.c (modified) (1 diff)
-
fm2cmd.c (modified) (1 diff)
-
fsopen.c (modified) (1 diff)
-
getnames.c (modified) (1 diff)
-
info.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/dirsize.c
r1335 r1347 142 142 143 143 CheckDrive(toupper(*pszFileName), FileSystem, NULL); 144 /*if (!stricmp(FileSystem, NTFS)) {145 saymsg(MB_OK,146 HWND_DESKTOP,147 NullStr,148 GetPString(IDS_NTFSDRIVERFAILSTEXT));149 return FALSE;150 } */151 144 ulBufBytes = sizeof(FILEFINDBUF4L) * FilesToGet; 152 145 pffbArray = xmalloc(ulBufBytes, pszSrcFile, __LINE__); … … 162 155 hdir = HDIR_CREATE; 163 156 ulFindCnt = 1; 164 // memset(pffbArray, 0, sizeof(FILEFINDBUF4L)); // 11 Aug 07 SHL bypass memset165 157 DosError(FERR_DISABLEHARDERR); 166 158 // Check directory exists … … 717 709 // Place text above graph box with a bit of whitespace between 718 710 ptl.x = oi->rclItem.xLeft; 719 ptl.y = yBottom + boxHeight + 6; // 03 Aug 07 SHL 720 // GpiMove(oi->hps, &ptl); 711 ptl.y = yBottom + boxHeight + 6; 721 712 GpiCharStringAt(oi->hps, &ptl, p - pci->pszDisplayName, 722 713 pci->pszDisplayName); … … 725 716 726 717 // draw the graph box 727 // GpiQueryTextBox(oi->hps, 1, "#", TXTBOX_COUNT, aptl); // 03 Aug 07 SHL728 718 // draw black outline 729 719 GpiSetColor(oi->hps, CLR_BLACK); -
trunk/dll/draglist.c
r1207 r1347 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2001, 200 7Steven H.Levine9 Copyright (c) 2001, 2008 Steven H.Levine 10 10 11 11 16 Oct 02 SHL DoFileDrag: don't free stack -
trunk/dll/droplist.c
r1207 r1347 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2003, 200 7Steven H.Levine9 Copyright (c) 2003, 2008 Steven H.Levine 10 10 11 11 22 Nov 02 SHL Baseline … … 246 246 ret = TRUE; 247 247 248 // FreeDragInfoData(hwnd, pDInfo); // 20 Apr 07 SHL249 248 DrgFreeDraginfo(pDInfo); 250 249 } -
trunk/dll/eas.c
r1222 r1347 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2004, 200 6Steven H. Levine9 Copyright (c) 2004, 2008 Steven H. Levine 10 10 11 11 01 Aug 04 SHL Rework lstrip/rstrip usage … … 1306 1306 } 1307 1307 else { 1308 //Runtime_Error(pszSrcFile, __LINE__, "why here", filename);1309 //03 AUG 07 GKY This isn't an error it is for processing Readonly files1310 1308 /* try it without opening it */ 1311 1309 if (!DosQueryPathInfo(filename, FIL_QUERYEASIZE, (PVOID) & fsa4, … … 1347 1345 info = xmalloc(sizeof(HOLDFEA), pszSrcFile, __LINE__); 1348 1346 if (info) { 1349 // 29 Nov 07 GKY One short (EA search crash)1347 // 29 Nov 07 GKY One short (EA search crash) 1350 1348 info->pfea = 1351 1349 xmalloc(eaop.fpFEA2List->cbList - sizeof(ULONG) + 1, -
trunk/dll/filldir.c
r1335 r1347 213 213 CM_INVALIDATERECORD, 214 214 MPFROMP(&StubbyScan->pci), 215 MPFROM2SHORT(1, CMA_ERASE | CMA_REPOSITION));216 }215 MPFROM2SHORT(1, CMA_ERASE | CMA_REPOSITION)); 216 } 217 217 if (WinIsWindow((HAB)0, StubbyScan->hwndDrivesList)) { 218 218 WinSendMsg(StubbyScan->hwndDrivesList, … … 992 992 ullTotalBytes += ullBytes; 993 993 } // for 994 // 13 Aug 07 SHL ulSelCnt checked already?995 // if (ulSelCnt) {996 994 memset(&ri, 0, sizeof(RECORDINSERT)); 997 995 ri.cb = sizeof(RECORDINSERT); … … 1323 1321 strcmp(szFSType, NDFS32) && 1324 1322 strcmp(szFSType, RAMFS) && 1325 strcmp(szFSType, NTFS) &&1323 strcmp(szFSType, NTFS) && 1326 1324 strcmp(szFSType, HPFS386)) { 1327 1325 driveflags[x] |= DRIVE_NOLONGNAMES; … … 1330 1328 if (!strcmp(szFSType, CDFS) || !strcmp(szFSType,ISOFS)) { 1331 1329 removable = 1; 1332 driveflags[x] |= DRIVE_REMOVABLE | DRIVE_NOTWRITEABLE | 1333 DRIVE_CDROM; 1330 driveflags[x] |= DRIVE_REMOVABLE | DRIVE_NOTWRITEABLE | DRIVE_CDROM; 1334 1331 } 1335 elseif (!stricmp(szFSType, CBSIFS)) {1332 if (!stricmp(szFSType, CBSIFS)) { 1336 1333 driveflags[x] |= DRIVE_ZIPSTREAM; 1337 1334 driveflags[x] &= ~DRIVE_REMOTE; … … 1340 1337 if (!(ulDriveType & DRIVE_NOLONGNAMES)) 1341 1338 driveflags[x] &= ~DRIVE_NOLONGNAMES; 1342 }1339 } 1343 1340 1344 1341 pci->rc.flRecordAttr |= CRA_RECORDREADONLY; 1345 // if ((ULONG) (toupper(*pci->pszFileName) - '@') == ulCurDriveNum) // 23 Jul 07 SHL1346 1342 if ((ULONG)(toupper(*szDrive) - '@') == ulCurDriveNum) 1347 1343 pci->rc.flRecordAttr |= (CRA_CURSORED | CRA_SELECTED); … … 1370 1366 sprintf(suggest + strlen(suggest), "%c" , toupper(*szDrive)); 1371 1367 pci->pszFileName = xstrdup(szDrive, pszSrcFile, __LINE__); 1372 //strcpy(pci->pszFileName, szDrive);1373 1368 pci->pszDisplayName = pci->pszFileName; 1374 1369 pci->rc.pszIcon = pci->pszDisplayName; … … 1383 1378 // Removable volume 1384 1379 pci->pszFileName = xstrdup(szDrive, pszSrcFile, __LINE__); 1385 //strcpy(pci->pszFileName, szDrive);1386 1380 pci->pszDisplayName = pci->pszFileName; 1387 1381 pci->rc.pszIcon = pci->pszDisplayName; … … 1398 1392 pci->rc.hptrIcon = hptrDunno; 1399 1393 pci->pszFileName = xstrdup(szDrive, pszSrcFile, __LINE__); 1400 // strcpy(pci->pszFileName, szDrive); // 22 Jul 08 SHL No need to do this twice1401 1394 # ifdef FORTIFY 1402 1395 // Will be freed by TreeCnrWndProc WM_DESTROY … … 1414 1407 pci->rc.hptrIcon = hptrFloppy; 1415 1408 pci->pszFileName = xstrdup(szDrive, pszSrcFile, __LINE__); 1416 //strcpy(pci->pszFileName, szDrive);1417 1409 pci->pszDisplayName = pci->pszFileName; 1418 1410 pci->rc.pszIcon = pci->pszDisplayName; … … 1486 1478 pciParent->flags |= RECFLAGS_ENV; 1487 1479 pciParent->pszFileName = xstrdup(GetPString(IDS_ENVVARSTEXT), pszSrcFile, __LINE__); 1488 //strcpy(pciParent->pszFileName, GetPString(IDS_ENVVARSTEXT));1489 1480 pciParent->pszDisplayName = pciParent->pszFileName; // 03 Aug 07 SHL 1490 1481 pciParent->rc.hptrIcon = hptrEnv; -
trunk/dll/filter.c
r1304 r1347 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2004, 200 7Steven H.Levine9 Copyright (c) 2004, 2008 Steven H.Levine 10 10 11 11 01 Aug 04 SHL Rework lstrip/rstrip usage -
trunk/dll/findrec.c
r1160 r1347 5 5 6 6 Copyright (c) 1993-98 M. Kimes 7 Copyright (c) 2003, 200 7Steven H.Levine7 Copyright (c) 2003, 2008 Steven H.Levine 8 8 9 9 Find records -
trunk/dll/fm2cmd.c
r1229 r1347 5 5 6 6 Copyright (c) 1993-98 M. Kimes 7 Copyright (c) 2003, 200 7Steven H.Levine7 Copyright (c) 2003, 2008 Steven H.Levine 8 8 9 9 Command processing -
trunk/dll/fsopen.c
r1178 r1347 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2007 Steven H. Levine9 Copyright (c) 2007 2008 Steven H. Levine 10 10 11 11 15 Oct 02 SHL Baseline -
trunk/dll/getnames.c
r1223 r1347 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2006 Steven H. Levine9 Copyright (c) 2006, 2008 Steven H. Levine 10 10 11 11 23 Aug 06 SHL Comments -
trunk/dll/info.c
r1223 r1347 825 825 fp = _fsopen(pfs->szFileName, "rb", SH_DENYNO); 826 826 if (fp) { 827 // char buff[512];828 827 char buff[4096]; // 06 Oct 07 SHL protect against NTFS defect 829 828 ULONG len;
Note:
See TracChangeset
for help on using the changeset viewer.
