Changeset 6118 in vbox for trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp
- Timestamp:
- Dec 18, 2007 9:55:20 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 26841
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp
r6029 r6118 47 47 /** Shutdown the main thread. (later, for signals) */ 48 48 bool volatile g_fShutdown; 49 #ifndef RT_OS_OS2 50 extern int daemon(int nochdir, int noclose); 51 #endif 49 52 50 53 /** … … 273 276 if (cch > sizeof("enable-") && !memcmp(psz, "enable-", sizeof("enable-") - 1)) 274 277 for (unsigned j = 0; !fFound && j < RT_ELEMENTS(g_aServices); j++) 278 #if defined(RT_OS_OS2) 275 279 if ((fFound = !stricmp(psz + sizeof("enable-") - 1, g_aServices[j].pDesc->pszName))) 280 #else 281 if ((fFound = !strcasecmp(psz + sizeof("enable-") - 1, g_aServices[j].pDesc->pszName))) 282 #endif 276 283 g_aServices[j].fEnabled = true; 277 284 278 285 if (cch > sizeof("disable-") && !memcmp(psz, "disable-", sizeof("disable-") - 1)) 279 286 for (unsigned j = 0; !fFound && j < RT_ELEMENTS(g_aServices); j++) 287 #if defined(RT_OS_OS2) 280 288 if ((fFound = !stricmp(psz + sizeof("disable-") - 1, g_aServices[j].pDesc->pszName))) 289 #else 290 if ((fFound = !strcasecmp(psz + sizeof("disable-") - 1, g_aServices[j].pDesc->pszName))) 291 #endif 281 292 g_aServices[j].fEnabled = false; 282 293
Note:
See TracChangeset
for help on using the changeset viewer.