IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28172


Ignore:
Timestamp:
Jun 1, 2010, 11:10:51 AM (16 years ago)
Author:
Paul Price
Message:

Sync log file before aborting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psAbort.c

    r24432 r28172  
    2323#include <stdarg.h>
    2424#include <stdlib.h>
     25#include <unistd.h>
    2526
    2627#include "psAbort.h"
     
    4748
    4849    // Call system abort function to terminate program execution
     50    fsync(psLogGetDestination());
    4951    abort();
    5052}
     
    7173
    7274    // Call system abort function to terminate program execution
     75    fsync(psLogGetDestination());
    7376    abort();
    7477}
Note: See TracChangeset for help on using the changeset viewer.