Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Oct 2015 10:27:31 -0700
From:      John Baldwin <jhb@freebsd.org>
To:        "Andrey A. Chernov" <ache@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r289863 - head/lib/libc/stdio
Message-ID:  <2119048.oF1gNjmV7i@ralph.baldwin.cx>
In-Reply-To: <201510240223.t9O2NFiY011536@repo.freebsd.org>
References:  <201510240223.t9O2NFiY011536@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2119048.oF1gNjmV7i>