svn commit: r289863 - head/lib/libc/stdio

John Baldwin jhb at freebsd.org
Mon Oct 26 17:34:34 UTC 2015


On Saturday, October 24, 2015 02:23:15 AM Andrey A. Chernov wrote:
> Author: ache
> Date: Sat Oct 24 02:23:15 2015
> New Revision: 289863
> URL: https://svnweb.freebsd.org/changeset/base/289863
> 
> Log:
>   Since no room left in the _flags, reuse __SALC for O_APPEND.
>   It helps to remove _fcntl() call from _ftello() and optimize seek position
>   calculation in _swrite().

You could just add a _flags2 to FILE if that would be cleaner.  It should even
be MFC'able without being an ABI change since stdio always allocates FILE
objects internally and we only export pointers to them.  Programs do not
allocate them statically.

-- 
John Baldwin


More information about the svn-src-head mailing list