IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20534


Ignore:
Timestamp:
Nov 4, 2008, 4:28:30 PM (18 years ago)
Author:
eugene
Message:

flush output so vectors are written immediately

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/write_vectors.c

    r10508 r20534  
    4545      gprint (GP_ERR, "USAGE: write (file) vector vector ...\n");
    4646      fclose (f);
     47  fflush (f);
    4748      return (FALSE);
    4849  }
     
    5657      free (vec);
    5758      fclose (f);
     59  fflush (f);
    5860      return (FALSE);   
    5961    }
     
    6769      free (vec);
    6870      fclose (f);
     71  fflush (f);
    6972      return (FALSE);   
    7073    }
     
    8184    fclose (f);
    8285    free (vec);
     86  fflush (f);
    8387    return (TRUE);
    8488  }
     
    103107      free (format);
    104108      fclose (f);
     109  fflush (f);
    105110      return (FALSE);
    106111    }
     
    139144  }
    140145  fclose (f);
     146  fflush (f);
    141147
    142148  free (fmttype);
Note: See TracChangeset for help on using the changeset viewer.