cvs commit: src/lib/libc/stdio fdopen.c

2008-07-28 Thread Antoine Brodin
antoine 2008-07-28 19:37:26 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) lib/libc/stdio fdopen.c Log: SVN rev 180934 on 2008-07-28 19:37:26Z by antoine MFC r178921 to stable/6: Remove useless call to getdtablesize(2) in fdopen(3) and its use

cvs commit: src/lib/libc/stdio fdopen.c

2008-07-28 Thread Antoine Brodin
antoine 2008-07-28 19:35:26 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) lib/libc/stdio fdopen.c Log: SVN rev 180933 on 2008-07-28 19:35:26Z by antoine MFC r178921 to stable/7: Remove useless call to getdtablesize(2) in fdopen(3) and its use

cvs commit: src/lib/libc/stdio fdopen.c

2008-05-10 Thread Antoine Brodin
antoine 2008-05-10 18:39:20 UTC FreeBSD src repository Modified files: lib/libc/stdio fdopen.c Log: Remove useless call to getdtablesize(2) in fdopen(3) and its useless variable nofile. PR: 123109 Submitted by: Christoph Mallon Approved by:rwats

cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c

2008-03-17 Thread John Baldwin
jhb 2008-03-17 17:42:26 UTC FreeBSD src repository Modified files:(Branch: RELENG_4) lib/libc/stdio fdopen.c fopen.c freopen.c Log: MFC: Fail attempts to use file descriptors larger than SHRT_MAX. Revision ChangesPath 1.3.2.1 +14 -1 src/lib/lib

cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c

2008-03-17 Thread John Baldwin
jhb 2008-03-17 17:39:00 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) lib/libc/stdio fdopen.c fopen.c freopen.c Log: MFC: Fail attempts to use file descriptors larger than SHRT_MAX. Revision ChangesPath 1.7.14.1 +12 -0 src/lib/l

cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c

2008-03-17 Thread John Baldwin
jhb 2008-03-17 17:38:48 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) lib/libc/stdio fdopen.c fopen.c freopen.c Log: MFC: Fail attempts to use file descriptors larger than SHRT_MAX. Revision ChangesPath 1.8.2.1 +13 -0 src/lib/lib

Re: cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c

2008-02-28 Thread John Baldwin
On Thursday 28 February 2008 05:40:54 am Dag-Erling Smørgrav wrote: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > John Baldwin <[EMAIL PROTECTED]> writes: > > > At some point in the future we should look at expanding the file descriptor > > > in FILE to an int, but that is a bit complicate

Re: cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c

2008-02-28 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > John Baldwin <[EMAIL PROTECTED]> writes: > > At some point in the future we should look at expanding the file descriptor > > in FILE to an int, but that is a bit complicated due to ABI issues. > There shouldn't be any ABI issues, since FILE should n

Re: cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c

2008-02-28 Thread Dag-Erling Smørgrav
John Baldwin <[EMAIL PROTECTED]> writes: > At some point in the future we should look at expanding the file descriptor > in FILE to an int, but that is a bit complicated due to ABI issues. There shouldn't be any ABI issues, since FILE should never, ever be used directly, only through FILE *.

Re: cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c

2008-02-27 Thread John Baldwin
On Wednesday 27 February 2008 04:25:19 pm John Baldwin wrote: > jhb 2008-02-27 21:25:19 UTC > > FreeBSD src repository > > Modified files: > lib/libc/stdio fdopen.c fopen.c freopen.c > Log: > Add for SHRT_MAX. > > Pointy hat to: jhb Sorry, the original patch com

cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c

2008-02-27 Thread John Baldwin
jhb 2008-02-27 21:25:19 UTC FreeBSD src repository Modified files: lib/libc/stdio fdopen.c fopen.c freopen.c Log: Add for SHRT_MAX. Pointy hat to: jhb Revision ChangesPath 1.10 +1 -0 src/lib/libc/stdio/fdopen.c 1.13 +1 -0 src/lib

Re: cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c

2008-02-27 Thread John Baldwin
On Wednesday 27 February 2008 02:02:03 pm John Baldwin wrote: > jhb 2008-02-27 19:02:02 UTC > > FreeBSD src repository > > Modified files: > lib/libc/stdio fdopen.c fopen.c freopen.c > Log: > File descriptors are an int, but our stdio FILE object uses a short to hold >

cvs commit: src/lib/libc/stdio fdopen.c fopen.c freopen.c

2008-02-27 Thread John Baldwin
jhb 2008-02-27 19:02:02 UTC FreeBSD src repository Modified files: lib/libc/stdio fdopen.c fopen.c freopen.c Log: File descriptors are an int, but our stdio FILE object uses a short to hold them. Thus, any fd whose value is greater than SHRT_MAX is handled incorrec