[PATCH] libc FILE locking

Joerg Sonnenberger joerg at britannica.bec.de
Sun May 8 04:12:31 PDT 2005


On Sat, May 07, 2005 at 01:50:06PM +0800, David Xu wrote:
> Please test attached patch, I want to make sure it does not break
> anything.

Actually I'd like like to reinvestigate our FILE handling completely.
I was thinking about splitting everything but the inline related stuff
off from FILE and it move into an internal structure (FILEX). That
structure would have FILE as first element and all the interface function
would cast it automatically.

Re: builtin size. Yes, there are such broken applications, partly because
we export part of the interface via the inline functions / macros.

A good question is whether defining part of the interface as macros is
really worth the trouble though.

Joerg





More information about the Submit mailing list