|
9faed5de
|
2007-07-31T22:15:00
|
|
Use a slightly cleaner hack on BSD systems.
|
|
e13c2b4a
|
2007-04-27T18:05:08
|
|
* lib/freading.h: Improve comments.
* lib/fwriting.h: Likewise.
* lib/fflush.c: Likewise.
|
|
8a076be4
|
2007-04-27T10:56:51
|
|
More comments.
|
|
9b87488b
|
2007-04-26T13:20:50
|
|
Fix fflush on mingw.
* modules/fflush (Depends-on): Add freading.
* lib/fflush.c (rpl_fflush): Use freading to avoid losing buffered
but unread data.
|
|
0a786d25
|
2007-04-26T09:25:05
|
|
On BSD implementations, when we call lseek(), we must also update or disable
the stream's file descriptor position cache.
|
|
d1e3faec
|
2007-04-23T12:49:50
|
|
* lib/fflush.c: Fix missing include.
Reported by Bruno Haible.
|
|
e7f31c67
|
2007-04-17T03:38:08
|
|
Make fflush rely on fpurge.
* lib/fflush.c (rpl_fflush): Rely on fpurge module, rather than
open coding all variants.
* modules/fflush (Depends-on): Add fpurge and unistd.
* modules/fflush-tests (Depends-on): Unistd is no longer extra.
* m4/fflush.m4 (gl_REPLACE_FFLUSH): Simplify.
|
|
ace67a47
|
2007-04-12T11:59:14
|
|
No need to preserve errno on success.
* lib/fflush.c (rpl_fflush): Simplify errno tracking.
Reported by Bruno Haible.
|
|
0c47a3bb
|
2007-04-10T03:09:07
|
|
* lib/stdio_.h [REPLACE_FFLUSH]: Declare rpl_fflush.
* modules/stdio (Makefile.am): Support fflush.
* m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Likewise.
* modules/fflush: New file.
* lib/fflush.c: Likewise.
* m4/fflush.m4: Likewise.
* modules/fflush-tests: New test.
* tests/test-fflush.c: Likewise.
* MODULES.html.sh (Input/output <stdio.h>): Document new module.
|