Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: christos
Date: Thu Mar 13 15:40:01 UTC 2008
Modified Files:
src/include: stdio.h
src/lib/libc: shlib_version
src/lib/libc/stdio: fdopen.c fopen.c freopen.c fseeko.c makebuf.c
stdio.c vfwprintf.c
Log Message:
Since _file is a short, check that the fd fits in it, otherwise bail with
EMFILE. We treat _file as an unsigned short to double our range, with a
special case for -1 (closed). Make a note of what we should do about stdio
if we ever bump libc. We could change _file in the future compatibly to an
int by putting it in the extension space but for now we don't bother.
To generate a diff of this commit:
cvs rdiff -r1.70 -r1.71 src/include/stdio.h
cvs rdiff -r1.194 -r1.195 src/lib/libc/shlib_version
cvs rdiff -r1.14 -r1.15 src/lib/libc/stdio/fdopen.c \
src/lib/libc/stdio/freopen.c src/lib/libc/stdio/makebuf.c
cvs rdiff -r1.12 -r1.13 src/lib/libc/stdio/fopen.c
cvs rdiff -r1.6 -r1.7 src/lib/libc/stdio/fseeko.c
cvs rdiff -r1.13 -r1.14 src/lib/libc/stdio/stdio.c
cvs rdiff -r1.10 -r1.11 src/lib/libc/stdio/vfwprintf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index