IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26257


Ignore:
Timestamp:
Nov 22, 2009, 2:54:00 PM (16 years ago)
Author:
eugene
Message:

do not call gprint when trying to abort on I/O error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pclient/ChildOps.c

    r16454 r26257  
    5050    Nbad ++;
    5151    if (Nbad > 100) {
    52       gprint (GP_ERR, "serious IO error\n");
    5352      abort ();
    5453    }
     
    6362  switch (Nread) {
    6463    case -2:  /* error in read (programming error?  system level error?) */
    65       gprint (GP_ERR, "serious IO error\n");
    6664      abort ();
    6765    case -1:  /* no data in pipe */
     
    7876  switch (Nread) {
    7977    case -2:  /* error in read (programming error?  system level error?) */
    80       gprint (GP_ERR, "serious IO error\n");
    8178      abort ();
    8279    case -1:  /* no data in pipe */
Note: See TracChangeset for help on using the changeset viewer.