[gforth] / gforth / engine / io.c  

gforth: gforth/engine/io.c

Diff for /gforth/engine/io.c between version 1.37 and 1.38

version 1.37, Mon Jun 29 20:29:54 2009 UTC version 1.38, Tue Jun 30 19:22:24 2009 UTC
Line 672 
Line 672 
   static struct timeval now = { 0 , 0 };    static struct timeval now = { 0 , 0 };
   int chars_avail;    int chars_avail;
   
     if (gf_ungottenc(stream))
       return 1;
   setvbuf(stream, NULL, _IONBF, 0);    setvbuf(stream, NULL, _IONBF, 0);
   if(!terminal_prepped && stream == stdin)    if(!terminal_prepped && stream == stdin)
     prep_terminal();      prep_terminal();
   if (gf_ungottenc(stream))  
     return 1;  
   
   FD_ZERO(&selin);    FD_ZERO(&selin);
   FD_SET(tty, &selin);    FD_SET(tty, &selin);
Line 703 
Line 703 
   Cell result;    Cell result;
   unsigned char c;    unsigned char c;
   
     if (!gf_ungottenc(stream))
   setvbuf(stream, NULL, _IONBF, 0);    setvbuf(stream, NULL, _IONBF, 0);
   if(!terminal_prepped && stream == stdin)    if(!terminal_prepped && stream == stdin)
     prep_terminal();      prep_terminal();


Generate output suitable for use with a patch program
Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help