freebsd-dev/lib/libc/stdio
Peter Wemm 1ec21d5930 Fix nasty bracketing/precedence bug. Every time something read (and
refilled) a file that was either line- or un-buffered, all files were
flushed.  According to the code comment, the flush (according to ANSI)
is supposed to happen on write + line buffered output files, not _all_
files.

Obtained from: OpenBSD / Theo de Raadt, possibly from proven@cygnus.com
1996-08-13 17:49:45 +00:00
..
asprintf.c Add an implementation of the gnu-ish asprintf() and vasprintf(). They are 1996-05-27 10:49:43 +00:00
clrerr.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
fclose.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
fclose.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
fdopen.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
feof.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
ferror.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
ferror.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
fflush.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
fflush.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
fgetc.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
fgetln.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
fgetln.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
fgetpos.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
fgets.3 Correct the paramter type of the second argument to fgets. 1996-08-06 22:34:44 +00:00
fgets.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
fileno.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
findfp.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
flags.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
floatio.h BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
fopen.3 Added missing section numbers to a bunch of .Xr macros, or 1996-03-27 20:49:07 +00:00
fopen.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
fprintf.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
fpurge.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
fputc.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
fputs.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
fputs.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
fread.3 Fixed various problems: typos, grammer, missing include files 1996-05-23 01:05:25 +00:00
fread.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
freopen.c Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
fscanf.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
fseek.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
fseek.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
fsetpos.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
ftell.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
funopen.3 Fix a variety of minor typos and cross references in a bunch of 1996-01-20 07:29:11 +00:00
funopen.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
fvwrite.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
fvwrite.h BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
fwalk.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
fwrite.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
getc.3 Fixed bogus cross references. 1996-03-27 17:54:40 +00:00
getc.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
getchar.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
gets.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
getw.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
glue.h BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
local.h BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
makebuf.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
Makefile.inc Fix bogus MLINKS line from vasprintf change. 1996-05-29 05:00:12 +00:00
mktemp.3 Fix a typo. 1996-05-01 22:49:36 +00:00
mktemp.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
perror.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
printf.3 Reword the sentence about the required space for the result string. 1996-06-09 06:48:42 +00:00
printf.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
putc.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
putc.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
putchar.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
puts.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
putw.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
refill.c Fix nasty bracketing/precedence bug. Every time something read (and 1996-08-13 17:49:45 +00:00
remove.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
remove.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
rewind.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
rget.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
scanf.3 Added missing section numbers to a bunch of .Xr macros, or 1996-03-27 20:49:07 +00:00
scanf.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
setbuf.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
setbuf.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
setbuffer.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
setvbuf.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
snprintf.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
sprintf.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
sscanf.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
stdio.3 Fixed various problems: typos, grammer, missing include files 1996-05-23 01:05:25 +00:00
stdio.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
tempnam.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
tmpfile.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
tmpnam.3 Added missing section numbers to a bunch of .Xr macros, or 1996-03-27 20:49:07 +00:00
tmpnam.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
ungetc.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
ungetc.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
vasprintf.c Fix some of the problems that bde pointed out to me some time ago. 1996-07-28 16:16:11 +00:00
vfprintf.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
vfscanf.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
vprintf.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
vscanf.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
vsnprintf.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
vsprintf.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
vsscanf.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
wbuf.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00
wsetup.c Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer 1996-06-22 10:34:15 +00:00