Date: Mon, 8 Mar 2004 18:44:59 -0800 (PST) From: John Birrell <jb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio _flock_stub.c local.h Message-ID: <200403090245.i292j0a6035728@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jb 2004/03/08 18:44:59 PST
FreeBSD src repository
Modified files:
lib/libc/stdio _flock_stub.c local.h
Log:
On 4.X it was possible for an application to initialise a local FILE
structure and call stdio functions. In 5.X this was broken when FILE
locking was introduced into libc.
This change makes most (relevant) stdio functions work again when the
_extra file in FILE isn't initialised (and can't be without a libc
function to do it since the __sFILEX structure is private to libc).
Revision Changes Path
1.13 +9 -3 src/lib/libc/stdio/_flock_stub.c
1.22 +1 -1 src/lib/libc/stdio/local.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403090245.i292j0a6035728>
