Changeset 6622 for nanoscale/branches/1.0/server.c
- Timestamp:
- Nov 14, 2016, 12:25:18 PM (8 years ago)
- Location:
- nanoscale/branches/1.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
nanoscale/branches/1.0
- Property svn:mergeinfo changed
/nanoscale/trunk merged: 6506,6574,6609
- Property svn:mergeinfo changed
-
nanoscale/branches/1.0/server.c
r6505 r6622 548 548 serverPtr->name, getpid()); 549 549 if (serverPtr->logStdout) { 550 newFd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0600);550 newFd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0600); 551 551 } else { 552 552 newFd = open("/dev/null", O_WRONLY, 0600); … … 639 639 display[3] = screenNum + '0'; 640 640 setenv("DISPLAY", display, 1); 641 /* Set the enviroment, if necessary. */ 641 /* Don't pollute child's environment with our library path. 642 * Library path should be explicitly set in config if needed. 643 */ 644 unsetenv("LD_LIBRARY_PATH"); 645 /* Set the configured environment */ 642 646 for (i = 0; i < serverPtr->numEnvArgs; i += 2) { 643 647 setenv(serverPtr->envArgs[i], serverPtr->envArgs[i+1], 1);
Note: See TracChangeset
for help on using the changeset viewer.