From owner-svn-src-head@freebsd.org Mon Oct 26 17:34:33 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0E05A1ED9F; Mon, 26 Oct 2015 17:34:33 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BD4BF10BF; Mon, 26 Oct 2015 17:34:33 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E7DEAB976; Mon, 26 Oct 2015 13:34:31 -0400 (EDT) From: John Baldwin To: "Andrey A. Chernov" Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r289863 - head/lib/libc/stdio Date: Mon, 26 Oct 2015 10:27:31 -0700 Message-ID: <2119048.oF1gNjmV7i@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.2-PRERELEASE; KDE/4.14.3; amd64; ; ) In-Reply-To: <201510240223.t9O2NFiY011536@repo.freebsd.org> References: <201510240223.t9O2NFiY011536@repo.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 26 Oct 2015 13:34:32 -0400 (EDT) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2015 17:34:34 -0000 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