public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac81680
)
Fixed error in clearerr
author
ceriel
<none@none>
Thu, 3 Jan 1991 16:08:31 +0000
(16:08 +0000)
committer
ceriel
<none@none>
Thu, 3 Jan 1991 16:08:31 +0000
(16:08 +0000)
lang/cem/libcc.ansi/headers/stdio.h
patch
|
blob
|
history
diff --git
a/lang/cem/libcc.ansi/headers/stdio.h
b/lang/cem/libcc.ansi/headers/stdio.h
index
009290f
..
46251db
100644
(file)
--- a/
lang/cem/libcc.ansi/headers/stdio.h
+++ b/
lang/cem/libcc.ansi/headers/stdio.h
@@
-124,7
+124,7
@@
int __flushbuf(int _c, FILE *_stream);
#define feof(p) (((p)->_flags & _IOEOF) != 0)
#define ferror(p) (((p)->_flags & _IOERR) != 0)
-#define clearerr(p) ((p)->_flags &= (_IOERR|_IOEOF))
+#define clearerr(p) ((p)->_flags &=
~
(_IOERR|_IOEOF))
#if defined(__BSD4_2) || defined(__USG) || defined(_POSIX_SOURCE)
int fileno(FILE *_stream);