Changeset 7278 for trunk/tools
- Timestamp:
- Oct 31, 2001, 10:46:49 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/CmdQd/CmdQd.c
r6886 r7278 1 /* $Id: CmdQd.c,v 1. 7 2001-09-30 05:26:52bird Exp $1 /* $Id: CmdQd.c,v 1.8 2001-10-31 21:46:49 bird Exp $ 2 2 * 3 3 * Command Queue Daemon / Client. … … 628 628 rc = shrmemSendDaemon(TRUE); 629 629 } while (!rc && fMore); 630 631 /* 632 * Check if the wait client died. 633 */ 634 if (rc == ERROR_ALREADY_POSTED) /* seems like this is the rc we get. */ 635 { 636 /* 637 * BUGBUG: This code is really fishy, but I'm to tired to make a real fix now. 638 * Hopefully this solves my current problem. 639 */ 640 ULONG ulDummy; 641 rc = DosRequestMutexSem(pShrMem->hmtx, 500); 642 rc = DosResetEventSem(pShrMem->hevClient, &ulDummy); 643 pShrMem->enmMsgType = msgUnknown; 644 rc = shrmemSendDaemon(TRUE); 645 } 630 646 break; 631 647 } … … 1096 1112 { /* search path */ 1097 1113 char szResult[CCHMAXPATH]; 1098 rc = DosSearchPath(SEARCH_IGNORENETERRS, pszPath, pszArg, &szResult[0] , sizeof(szResult));1114 rc = DosSearchPath(SEARCH_IGNORENETERRS, (PSZ)pszPath, pszArg, &szResult[0] , sizeof(szResult)); 1099 1115 if (!rc) 1100 1116 { … … 1229 1245 { 1230 1246 FILESTATUS3 fsts3; 1231 return DosQueryPathInfo( pszFilename, FIL_STANDARD, &fsts3, sizeof(fsts3));1247 return DosQueryPathInfo((PSZ)pszFilename, FIL_STANDARD, &fsts3, sizeof(fsts3)); 1232 1248 } 1233 1249
Note:
See TracChangeset
for help on using the changeset viewer.