IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 5, 2010, 3:47:36 PM (16 years ago)
Author:
eugene
Message:

pendatic checking fscan, system, and mkstemp return values

File:
1 edited

Legend:

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

    r14284 r27611  
    2727  while (1) {
    2828    gprint (GP_ERR, "operation halted, continue? (y/n) ");
    29     fscanf (stdin, "%s", string);
     29    if (fscanf (stdin, "%s", string) != 1) fprintf (stderr, "what?\n");
    3030   
    3131    if ((string[0] == 'y') || (string[0] == 'Y')) {
Note: See TracChangeset for help on using the changeset viewer.