version 1.211.2.13, 2007/10/09 21:41:40
|
version 1.211.2.14, 2007/11/03 22:42:34
|
|
|
// Set Message loading to process locale | // Set Message loading to process locale |
MessageLoader::_useProcessLocale = true; | MessageLoader::_useProcessLocale = true; |
| |
#if defined(PEGASUS_OS_VXWORKS) |
|
/* |
|
ATTN-MEB: create constant for this: |
|
*/ |
|
// On VxWorks, run cimserver in /ramfs:0 directory: |
|
{ |
|
const char PATH[] = "/romfs"; |
|
if (chdir(PATH) != 0) |
|
{ |
|
fprintf(stderr, "cimserver: failed to chdir to %s\n", PATH); |
|
fprintf(stderr, "cimserver: aborting...\n"); |
|
exit(1); |
|
} |
|
char cwd[4096]; |
|
cwd[0] = '\0'; |
|
getcwd(cwd, sizeof(cwd)); |
|
printf("Changed directory to \"%s\"\n", cwd); |
|
} |
|
#endif |
|
|
|
#ifdef PEGASUS_OS_ZOS | #ifdef PEGASUS_OS_ZOS |
// Direct standard input to /dev/null, | // Direct standard input to /dev/null, |
close(STDIN_FILENO); | close(STDIN_FILENO); |