Changeset 2384 for trunk/packages


Ignore:
Timestamp:
Aug 16, 2011, 10:30:54 AM (13 years ago)
Author:
gah
Message:
 
Location:
trunk/packages/vizservers/nanoscale
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanoscale/renderservers.tcl.in

    r2348 r2384  
    88#
    99register_server nanovis 2000 {
     10    ${bindir}/nanovis -p ${libdir}/shaders:${libdir}/resources
     11} {
     12  LD_LIBRARY_PATH ${libdir}
     13}
     14
     15# NanoVis server --
     16#
     17register_server nanovis-test 2015 {
    1018    ${bindir}/nanovis -p ${libdir}/shaders:${libdir}/resources
    1119} {
  • trunk/packages/vizservers/nanoscale/server2.c

    r2383 r2384  
    327327        exit(1);
    328328    }
     329    signal(SIGPIPE, SIG_IGN);
    329330#ifdef SA_NOCLDWAIT
    330331    memset(&action, 0, sizeof(action));
    331332    action.sa_flags = SA_NOCLDWAIT;
    332 #endif
    333      signal(SIGPIPE, SIG_IGN);
    334 #ifdef SA_NOCLDWAIT
    335333    sigaction(SIGCHLD, &action, 0);
    336334#else
     
    418416                dup2(f, 1);             /* Stdout */
    419417                errFd = open("/dev/null", O_WRONLY, 0600);
    420                 dup2(errFd, 2);
     418                dup2(errFd, 2);         /* Stderr */
    421419                for(i = 3; i <= FD_SETSIZE; i++) {
    422420                    close(i);           /* Close all the other descriptors. */
Note: See TracChangeset for help on using the changeset viewer.