Changeset 5494 for nanovis


Ignore:
Timestamp:
May 11, 2015, 3:26:36 PM (4 years ago)
Author:
ldelgass
Message:

merge r5492 from nanovis trunk

Location:
nanovis/branches/1.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • nanovis/branches/1.2

  • nanovis/branches/1.2/nanovisServer.cpp

    r5491 r5494  
    643643     * also be used to supply information about the server (version, memory
    644644     * size, etc). */
    645     char mesg[200];
    646     sprintf(mesg, "NanoVis %s (build %s)\n", NANOVIS_VERSION_STRING, SVN_VERSION);
    647     size_t numBytes = strlen(mesg);
    648     ssize_t numWritten = write(g_fdOut, mesg, numBytes);
    649     if ((ssize_t)numBytes != numWritten) {
    650         ERROR("Short write in version string: %s", strerror(errno));
    651     }
     645    fprintf(g_fOut, "NanoVis %s (build %s)\n", NANOVIS_VERSION_STRING, SVN_VERSION);
     646    fflush(g_fOut);
    652647
    653648#if defined(USE_NEW_EVENT_LOOP) || defined(USE_THREADS)
Note: See TracChangeset for help on using the changeset viewer.