IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 11, 2010, 12:45:59 PM (16 years ago)
Author:
eugene
Message:

add shell-verbosity (echo commmand lines) and function to enable; add fflush calls to gprint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.shell/gprint.c

    r24028 r27255  
    305305  if (stream[0].mode == GP_FILE) {
    306306    status = vfprintf (stream[0].file, format, argp);
     307    fflush (stream[0].file);
    307308    if (status < 0) {
    308309      return (FALSE);
     
    325326  if (stream[0].mode == GP_FILE) {
    326327    fwrite (buffer, size, N, stream[0].file);
     328    fflush (stream[0].file);
    327329  } else {
    328330    // XXX can we not use exising IOBuffer APIs here?
Note: See TracChangeset for help on using the changeset viewer.