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/open_graph.c

    r6684 r7917  
    5252void XGraphDead (int input) {
    5353  signal (SIGPIPE, XGraphDead);
    54   fprintf (stderr, "kapa is dead, must restart\n");
     54  gprint (GP_ERR, "kapa is dead, must restart\n");
    5555  Xgraph[Active] = -1;
    5656}
     
    6464  kapa_exec = get_variable ("KAPA");
    6565  if (kapa_exec == (char *) NULL) {
    66     fprintf (stderr, "variable KAPA not found\n");
     66    gprint (GP_ERR, "variable KAPA not found\n");
    6767    return (FALSE);
    6868  }
     
    7373
    7474  if (fd < 0) {
    75     fprintf (stderr, "error starting kapa\n");
     75    gprint (GP_ERR, "error starting kapa\n");
    7676    return (FALSE);
    7777  }
     
    102102  } else {
    103103    if (*N >= NXGRAPH) {
    104       fprintf (stderr, "invalid Xgraph window %d\n", *N);
     104      gprint (GP_ERR, "invalid Xgraph window %d\n", *N);
    105105      return (FALSE);
    106106    }
     
    140140  } else {
    141141    if (*N >= NXGRAPH) {
    142       fprintf (stderr, "invalid Xgraph window %d\n", *N);
     142      gprint (GP_ERR, "invalid Xgraph window %d\n", *N);
    143143      return (FALSE);
    144144    }
Note: See TracChangeset for help on using the changeset viewer.