.
authorclaus
Fri, 18 Aug 1995 00:39:38 +0200
changeset 401 c19d2e94f36f
parent 400 1754d8edcce4
child 402 8e2f6d771c51
.
PipeStr.st
PipeStream.st
--- a/PipeStr.st	Thu Aug 17 18:06:04 1995 +0200
+++ b/PipeStr.st	Fri Aug 18 00:39:38 1995 +0200
@@ -21,7 +21,7 @@
 COPYRIGHT (c) 1989 by Claus Gittinger
 	      All Rights Reserved
 
-$Header: /cvs/stx/stx/libbasic/Attic/PipeStr.st,v 1.29 1995-08-11 03:02:45 claus Exp $
+$Header: /cvs/stx/stx/libbasic/Attic/PipeStr.st,v 1.30 1995-08-17 22:39:38 claus Exp $
 '!
 
 !PipeStream class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
 
 version
 "
-$Header: /cvs/stx/stx/libbasic/Attic/PipeStr.st,v 1.29 1995-08-11 03:02:45 claus Exp $
+$Header: /cvs/stx/stx/libbasic/Attic/PipeStr.st,v 1.30 1995-08-17 22:39:38 claus Exp $
 "
 !
 
@@ -315,6 +315,7 @@
 	    _INST(hitEOF) = true;
 	    RETURN (true);
 	}
+	clearerr(f);
 	RETURN ( false );
     }
 #endif
@@ -363,6 +364,7 @@
 	if (f == NULL) {
 	    _INST(lastErrorNumber) = _MKSMALLINT(errno);
 	} else {
+	    clearerr(f);
 	    _INST(filePointer) = MKOBJ(f);
 	    retVal = self;
 	}
--- a/PipeStream.st	Thu Aug 17 18:06:04 1995 +0200
+++ b/PipeStream.st	Fri Aug 18 00:39:38 1995 +0200
@@ -21,7 +21,7 @@
 COPYRIGHT (c) 1989 by Claus Gittinger
 	      All Rights Reserved
 
-$Header: /cvs/stx/stx/libbasic/PipeStream.st,v 1.29 1995-08-11 03:02:45 claus Exp $
+$Header: /cvs/stx/stx/libbasic/PipeStream.st,v 1.30 1995-08-17 22:39:38 claus Exp $
 '!
 
 !PipeStream class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
 
 version
 "
-$Header: /cvs/stx/stx/libbasic/PipeStream.st,v 1.29 1995-08-11 03:02:45 claus Exp $
+$Header: /cvs/stx/stx/libbasic/PipeStream.st,v 1.30 1995-08-17 22:39:38 claus Exp $
 "
 !
 
@@ -315,6 +315,7 @@
 	    _INST(hitEOF) = true;
 	    RETURN (true);
 	}
+	clearerr(f);
 	RETURN ( false );
     }
 #endif
@@ -363,6 +364,7 @@
 	if (f == NULL) {
 	    _INST(lastErrorNumber) = _MKSMALLINT(errno);
 	} else {
+	    clearerr(f);
 	    _INST(filePointer) = MKOBJ(f);
 	    retVal = self;
 	}