Date: Sun, 2 Sep 2001 12:10:12 -0700 (PDT) From: "Andrey A. Chernov" <ache@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio fdopen.c fflush.c fopen.c fseek.c ftell.c fvwrite.c local.h refill.c stdio.c Message-ID: <200109021910.f82JACD82362@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 2001/09/02 12:10:12 PDT Modified files: lib/libc/stdio fdopen.c fflush.c fopen.c fseek.c ftell.c fvwrite.c local.h refill.c stdio.c Log: Move all stdio internal flags processing and setting out of __sread(), __swrite() and __sseek() to higher level. According to funopen(3) they all are just wrappers to something like standard read(2), write(2) and lseek(2), i.e. must not touch stdio internals because they are replaceable with any other functions knows nothing about stdio internals. See example of funopen(3) usage in sendmail sources f.e. NOTE: this is original stdio bug, not result of my range checkin added. Revision Changes Path 1.5 +3 -3 src/lib/libc/stdio/fdopen.c 1.10 +7 -1 src/lib/libc/stdio/fflush.c 1.7 +2 -2 src/lib/libc/stdio/fopen.c 1.31 +42 -4 src/lib/libc/stdio/fseek.c 1.24 +2 -2 src/lib/libc/stdio/ftell.c 1.12 +27 -2 src/lib/libc/stdio/fvwrite.c 1.9 +2 -1 src/lib/libc/stdio/local.h 1.13 +10 -1 src/lib/libc/stdio/refill.c 1.15 +3 -48 src/lib/libc/stdio/stdio.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109021910.f82JACD82362>