1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/lib/libc/stdio
Andrey A. Chernov 1b89a29689 1) If __SAPP stream is not seekable, remove __SAPP flag on first call instead
of repeating unsuccessful lseek call on each write (original stdio bug).

2) Save errno accross _sseek call in _swrite to not touch it in case write
success (original stdio bug).

3) Add _sseek error checking back, but only for __SOPT mode now.
2001-09-07 17:16:02 +00:00
..
_flock_stub.c To be consistent, use the __weak_reference macro from <sys/cdefs.h> 2001-04-10 04:11:50 +00:00
asprintf.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
clrerr.c
fclose.3 .St -ansiC -> .St -isoC 2001-02-26 13:23:47 +00:00
fclose.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
fdopen.c Move all stdio internal flags processing and setting out of __sread(), 2001-09-02 19:10:10 +00:00
feof.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
ferror.3 .St -ansiC -> .St -isoC 2001-02-26 13:23:47 +00:00
ferror.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
fflush.3 .St -ansiC -> .St -isoC 2001-02-26 13:23:47 +00:00
fflush.c Re-arrange my funopen(3) fix to minimize differences with original stdio code, 2001-09-03 02:24:37 +00:00
fgetc.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
fgetln.3
fgetln.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
fgetpos.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
fgets.3 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
fgets.c
fileno.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
findfp.c Rip out the old __stdin/out/err stuff. It was completely 100% useless. :-( 2001-08-13 21:48:44 +00:00
flags.c
floatio.h
fopen.3 .St -ansiC -> .St -isoC 2001-02-26 13:23:47 +00:00
fopen.c Internal seeks are overoptimized. They should remember fp->_offset only for 2001-09-02 21:22:00 +00:00
fprintf.c
fpurge.c
fputc.c
fputs.3 .St -ansiC -> .St -isoC 2001-02-26 13:23:47 +00:00
fputs.c
fread.3 .St -ansiC -> .St -isoC 2001-02-26 13:23:47 +00:00
fread.c
freopen.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
fscanf.c
fseek.3 Make fseek(... SEEK_CUR) fails if current file-position is unspecified. 2001-09-01 14:40:01 +00:00
fseek.c Re-arrange my funopen(3) fix to minimize differences with original stdio code, 2001-09-03 02:24:37 +00:00
fsetpos.c
ftell.c Move all stdio internal flags processing and setting out of __sread(), 2001-09-02 19:10:10 +00:00
funopen.3 Typo seek(2) -> lseek(2) 2001-09-02 19:24:07 +00:00
funopen.c
fvwrite.c Re-arrange my funopen(3) fix to minimize differences with original stdio code, 2001-09-03 02:24:37 +00:00
fvwrite.h
fwalk.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
fwrite.c
getc.3 Explain the relation of getchar() to getc() in less words. 2001-08-16 03:09:33 +00:00
getc.c libc MT-safety, part 2. 2001-02-11 22:06:43 +00:00
getchar.c
gets.c
getw.c
glue.h
local.h Re-arrange my funopen(3) fix to minimize differences with original stdio code, 2001-09-03 02:24:37 +00:00
makebuf.c
Makefile.inc MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
mktemp.3 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
mktemp.c
perror.c
printf.3 mdoc(7) police: fixed/simplified formatting. 2001-07-04 11:59:14 +00:00
printf.c
putc.3 .St -ansiC -> .St -isoC 2001-02-26 13:23:47 +00:00
putc.c
putchar.c
puts.c
putw.c
refill.c Re-arrange my funopen(3) fix to minimize differences with original stdio code, 2001-09-03 02:24:37 +00:00
remove.3 Use the ``.Rv -std'' mdoc(7) macro in appropriate cases. 2001-08-09 13:32:13 +00:00
remove.c
rewind.c Save errno before function call and restore it on success (because many 2001-09-01 15:28:24 +00:00
rget.c Fix style nit. 2001-03-05 11:10:12 +00:00
scanf.3 mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
scanf.c
setbuf.3 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
setbuf.c
setbuffer.c
setvbuf.c When __SOPT is cleared, clear __SOFF too. 2001-09-03 02:35:10 +00:00
snprintf.c revert freeing of memory that gets allocated when str == NULL 2001-06-18 04:40:52 +00:00
sprintf.c revert freeing of memory that gets allocated when str == NULL 2001-06-18 04:40:52 +00:00
sscanf.c Properly initialize a temporary FILE that is allocated off the stack. 2001-06-04 12:36:07 +00:00
stdio.3 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
stdio.c 1) If __SAPP stream is not seekable, remove __SAPP flag on first call instead 2001-09-07 17:16:02 +00:00
tempnam.c
tmpfile.c Attempt to use the environment variable TMPDIR for the temporary 2001-07-07 04:08:32 +00:00
tmpnam.3 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
tmpnam.c
ungetc.3 Describe file-position behaviour from POSIX 2001-09-01 14:01:52 +00:00
ungetc.c Back out disabling ungetc() at 0, use different solution: 2001-09-01 01:56:54 +00:00
vasprintf.c
vfprintf.c Mark some functions as __printflike() and/or taking const char * arguments 2001-08-20 12:53:36 +00:00
vfscanf.c Use decimal point from localeconv() instead of hardcoded '.' (SUSv2) 2001-02-10 05:46:05 +00:00
vprintf.c
vscanf.c
vsnprintf.c revert freeing of memory that gets allocated when str == NULL 2001-06-18 04:40:52 +00:00
vsprintf.c revert freeing of memory that gets allocated when str == NULL 2001-06-18 04:40:52 +00:00
vsscanf.c
wbuf.c
wsetup.c