Changeset 552 for trunk/dll/datamin.c
- Timestamp:
- Mar 1, 2007, 7:24:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/datamin.c
r551 r552 16 16 06 Jun 05 SHL Drop unused code 17 17 22 Jul 06 SHL Check more run time errors 18 02 Jan 07 GKY Changed drive information string formating to accomodate 5 char FS names 18 02 Jan 07 GKY Changed drive information string formating to accomodate 6 char FS names 19 07 Jan 07 GKY Move error strings etc. to string file 19 20 20 21 ***********************************************************************/ … … 78 79 rc = DosPostEventSem(G_hevDataMin); 79 80 if (rc) { 80 Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__, "Post Semaphore failed" // GetPString(IDS_POSTSEMFAILED) 81 81 Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 82 GetPString(IDS_POSTSEMFAILED)); 82 83 } 83 84 } … … 267 268 268 269 if (!fDataInclRemote) 269 drivestyle |= DRIVE_REMOTE ;270 drivestyle |= DRIVE_REMOTE || DRIVE_VIRTUAL; 270 271 if (fDataShowDrives) { 271 272 DosError(FERR_DISABLEHARDERR); … … 448 449 rc = DosPostEventSem(G_hevDataMin); 449 450 if (rc) { 450 Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__, "Post Semaphore failed" // GetPString(IDS_POSTSEMFAILED) 451 451 Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 452 GetPString(IDS_POSTSEMFAILED)); 452 453 } 453 454 } … … 944 945 rc = DosCreateEventSem(NULL, (PHEV) & G_hevDataMin, 0L, FALSE); 945 946 if (rc) { 946 Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__, "Create Semaphore failed" // GetPString(IDS_CREATESEMFAILED)947 947 Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 948 GetPString(IDS_CREATESEMFAILED)); 948 949 busy = FALSE; 949 950 } … … 1014 1015 rc = DosWaitEventSem(G_hevDataMin, 20000L); 1015 1016 if (rc && rc != ERROR_TIMEOUT) { 1016 Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__, "Wait Semaphore failed" // GetPString(IDS_POSTSEMFAILED) 1017 1017 Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 1018 GetPString(IDS_POSTSEMFAILED)); 1018 1019 } 1019 1020 1020 1021 rc = DosResetEventSem(G_hevDataMin, &clPosted); 1021 1022 if (rc && rc != ERROR_ALREADY_RESET) { 1022 Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__, "Reset Semaphore failed" // GetPString(IDS_POSTSEMFAILED) 1023 1023 Dos_Error(MB_ENTER, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 1024 GetPString(IDS_POSTSEMFAILED)); 1024 1025 } 1025 1026 }
Note:
See TracChangeset
for help on using the changeset viewer.