IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 16, 2006, 10:58:49 PM (20 years ago)
Author:
eugene
Message:

major updates to use gprint for buffered / threaded printing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.data/starfuncs.c

    r7080 r7917  
    1111  string = get_variable ("GAIN");
    1212  if (string == (char *) NULL) {
    13     fprintf (stderr, "assuming a value of 1.0\n");
     13    gprint (GP_ERR, "assuming a value of 1.0\n");
    1414    gain = 1.0;
    1515  } else {
     
    8989  set_int_variable ("Nsat", Nmax);
    9090 
    91   fprintf (GetOutfile(), "%f %f %f %f %f %f %f %f\n", x, y, FWHMx, FWHMy, sky, I, mag, dmag);
     91  gprint (GP_LOG, "%f %f %f %f %f %f %f %f\n", x, y, FWHMx, FWHMy, sky, I, mag, dmag);
    9292
    9393  return (mag);
Note: See TracChangeset for help on using the changeset viewer.