Changeset 2384 for trunk/packages
- Timestamp:
- Aug 16, 2011, 10:30:54 AM (13 years ago)
- Location:
- trunk/packages/vizservers/nanoscale
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanoscale/renderservers.tcl.in
r2348 r2384 8 8 # 9 9 register_server nanovis 2000 { 10 ${bindir}/nanovis -p ${libdir}/shaders:${libdir}/resources 11 } { 12 LD_LIBRARY_PATH ${libdir} 13 } 14 15 # NanoVis server -- 16 # 17 register_server nanovis-test 2015 { 10 18 ${bindir}/nanovis -p ${libdir}/shaders:${libdir}/resources 11 19 } { -
trunk/packages/vizservers/nanoscale/server2.c
r2383 r2384 327 327 exit(1); 328 328 } 329 signal(SIGPIPE, SIG_IGN); 329 330 #ifdef SA_NOCLDWAIT 330 331 memset(&action, 0, sizeof(action)); 331 332 action.sa_flags = SA_NOCLDWAIT; 332 #endif333 signal(SIGPIPE, SIG_IGN);334 #ifdef SA_NOCLDWAIT335 333 sigaction(SIGCHLD, &action, 0); 336 334 #else … … 418 416 dup2(f, 1); /* Stdout */ 419 417 errFd = open("/dev/null", O_WRONLY, 0600); 420 dup2(errFd, 2); 418 dup2(errFd, 2); /* Stderr */ 421 419 for(i = 3; i <= FD_SETSIZE; i++) { 422 420 close(i); /* Close all the other descriptors. */
Note: See TracChangeset
for help on using the changeset viewer.