Update of /cvsroot/opengtoolkit/pipe/c_source
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11147/c_source
Modified Files:
pipes.c
Log Message:
Fixed minor error in PipeRead
Index: pipes.c
===================================================================
RCS file: /cvsroot/opengtoolkit/pipe/c_source/pipes.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** pipes.c 12 Jun 2005 11:30:19 -0000 1.11
--- pipes.c 12 Jun 2005 15:52:59 -0000 1.12
***************
*** 373,379 ****
if (!fd)
return mgArgErr;
!
! *eof = FALSE;
if (LStrLen(*data) < (int32)bytesReq)
--- 373,380 ----
if (!fd)
+ {
+ *bytesRead = 0;
return mgArgErr;
! }
if (LStrLen(*data) < (int32)bytesReq)
|