Ignore:
Timestamp:
Jan 29, 2014, 7:59:26 PM (11 years ago)
Author:
ldelgass
Message:

Fix comment: we support using a single descriptor for input/output, since the
descriptor is associated with a socket.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanoscale/server.c

    r4153 r4154  
    614614                    exit(1);
    615615                }
    616                 /* When are the input and output ports of the render server
    617                  * the same?  It's an error when input == output. */
     616                /* If using a single descriptor for input and output, we don't
     617                 * need to call dup2 again
     618                 */
    618619                if (serverPtr->outputFd != serverPtr->inputFd) {
    619620                    if (dup2(sock, serverPtr->outputFd) < 0) { /* output */
Note: See TracChangeset for help on using the changeset viewer.