IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10667


Ignore:
Timestamp:
Dec 12, 2006, 3:05:10 PM (20 years ago)
Author:
eugene
Message:

flow-control fixes

Location:
trunk/Ohana/src/opihi
Files:
4 edited

Legend:

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

    r10666 r10667  
    185185int gprint (gpDest dest, char *format, ...) {
    186186
     187  int status;
    187188  gpStream *stream;
    188189  va_list argp; 
    189   int status;
    190190
    191191  stream = gprintGetStream (dest);
  • trunk/Ohana/src/opihi/pclient/pclient.c

    r9473 r10667  
    66# define opihi_history ""
    77# define opihi_rcfile ".pcontrolrc"
     8
     9void dummy_prep_term (int flag) {
     10}
    811
    912/* program-dependent initialization */
     
    1720  InitChild ();
    1821
     22  rl_prep_term_function = dummy_prep_term;
    1923  rl_readline_name = opihi_name;
    2024  rl_attempted_completion_function = command_completer;
     
    5963  exit (status);
    6064}
     65
  • trunk/Ohana/src/opihi/pcontrol/CheckIdleHost.c

    r10652 r10667  
    9090    UnlockStack (stack);
    9191    StartJob (job, host);
    92    return (TRUE);
     92    return (TRUE);
    9393  }
    9494  UnlockStack (stack);
  • trunk/Ohana/src/opihi/pcontrol/PclientCommand.c

    r10652 r10667  
    1818  request.tv_nsec = 100000;
    1919
     20  // flush the stdout and stderr buffers here
    2021  ReadtoIOBuffer (buffer, host[0].stdout);
     22  FlushIOBuffer (buffer);
     23
     24  ReadtoIOBuffer (buffer, host[0].stderr);
    2125  FlushIOBuffer (buffer);
    2226
Note: See TracChangeset for help on using the changeset viewer.