OSSP CVS Repository

ossp - Check-in [3112]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3112
Date: 2003-Jan-30 15:24:53 (local)
2003-Jan-30 14:24:53 (UTC)
User:mlelstv
Branch:
Comment: clear eof/error flags on creation
Tickets:
Inspections:
Files:
ossp-pkg/sio/sio.c      1.22 -> 1.23     3 inserted, 0 deleted

ossp-pkg/sio/sio.c 1.22 -> 1.23

--- sio.c        2003/01/20 17:43:21     1.22
+++ sio.c        2003/01/30 14:24:53     1.23
@@ -195,6 +195,9 @@
     sio->label_error = SIO_LN_ERROR;
     sio->label_eof   = SIO_LN_EOF;
 
+    sio->eof_flag    = 0;
+    sio->error_flag  = 0;
+
     *siop = sio;
 
     return SIO_OK;

CVSTrac 2.0.1