|
0d626a9b
|
2009-06-24T06:49:00
|
|
fpurge: migrate into <stdio.h>
* lib/fpurge.h: Delete...
* lib/stdio.in.h (fpurge): ...and declare here, instead.
* lib/fpurge.c (fpurge): Change declaring header.
* modules/fpurge (Files): Drop deleted file.
(Depends-on): Add stdio.
(configure.ac): Set witness.
* modules/stdio (Makefile.am): Support fpurge macros.
* m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Likewise.
* m4/fpurge.m4 (gl_FUNC_FPURGE): Set appropriate variables.
* lib/fflush.c: Update client.
* tests/test-fpurge.c: Likewise.
* NEWS: Mention the change.
Signed-off-by: Eric Blake <ebb9@byu.net>
|
|
4cbb934b
|
2009-03-01T02:19:56
|
|
Undo last lib/fflush.c commit.
|
|
81fe603b
|
2009-02-28T21:24:24
|
|
Add tentative support for FreeMiNT.
|
|
3d8e34bd
|
2009-01-26T18:32:23
|
|
fflush: avoid warnings on modern systems
* lib/fflush.c (rpl_fflush): Move declarations of locals,
pos and result, into scopes where they're used.
|
|
557a006f
|
2009-01-16T02:07:53
|
|
Make fflush-after-ungetc POSIX compliant on BSD systems.
|
|
1074f459
|
2009-01-16T00:24:35
|
|
Make fflush-after-ungetc POSIX compliant on glibc systems.
|
|
6226b4cf
|
2008-04-26T19:42:00
|
|
Oops, fix mistake in third-to-last commit.
|
|
284866a4
|
2008-04-26T18:58:00
|
|
Add tentative support for DragonFly BSD.
|
|
569eba62
|
2008-04-26T18:12:05
|
|
New private include file lib/stdio-impl.h.
|
|
02a3c767
|
2008-04-26T16:42:17
|
|
Put system dependent routines into inline functions.
|
|
4a11bb6c
|
2008-03-09T22:12:35
|
|
Fix comments in last commit.
|
|
679b14d8
|
2008-03-07T03:34:46
|
|
Make fflush after ungetc work on BSD platforms.
|
|
57fdfd3f
|
2007-10-07T19:14:58
|
|
Change copyright notice from GPLv2+ to GPLv3+.
|
|
27de795d
|
2007-09-30T01:06:17
|
|
Remove execute permission.
|
|
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.
|