projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module 'ilogbf'.
[gnulib.git]
/
lib
/
stdio-read.c
diff --git
a/lib/stdio-read.c
b/lib/stdio-read.c
index
9155a0b
..
358d8cd
100644
(file)
--- a/
lib/stdio-read.c
+++ b/
lib/stdio-read.c
@@
-131,13
+131,7
@@
fgets (char *s, int n, FILE *stream)
CALL_WITH_ERRNO_FIX (char *, fgets (s, n, stream), ret == NULL)
}
CALL_WITH_ERRNO_FIX (char *, fgets (s, n, stream), ret == NULL)
}
-char *
-gets (char *s)
-#undef gets
-{
- FILE *stream = stdin;
- CALL_WITH_ERRNO_FIX (char *, gets (s), ret == NULL)
-}
+/* We intentionally don't bother to fix gets. */
size_t
fread (void *ptr, size_t s, size_t n, FILE *stream)
size_t
fread (void *ptr, size_t s, size_t n, FILE *stream)