From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6202 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: fdopen/fflush problem Date: Fri, 26 Sep 2014 08:39:39 +0200 Message-ID: <20140926063939.GF21835@port70.net> References: <54250245.2070108@i-soft.com.cn> <20140926061810.GQ23797@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1411713599 22282 80.91.229.3 (26 Sep 2014 06:39:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Sep 2014 06:39:59 +0000 (UTC) Cc: ????????? To: musl@lists.openwall.com Original-X-From: musl-return-6215-gllmg-musl=m.gmane.org@lists.openwall.com Fri Sep 26 08:39:52 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1XXPC4-0005PU-6x for gllmg-musl@plane.gmane.org; Fri, 26 Sep 2014 08:39:52 +0200 Original-Received: (qmail 16193 invoked by uid 550); 26 Sep 2014 06:39:51 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 16185 invoked from network); 26 Sep 2014 06:39:51 -0000 Mail-Followup-To: musl@lists.openwall.com, ????????? Content-Disposition: inline In-Reply-To: <20140926061810.GQ23797@brightrain.aerifal.cx> User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:6202 Archived-At: * Rich Felker [2014-09-26 02:18:10 -0400]: > See the following text from the man page: > > The mkostemp() function is like mkstemp(), with the difference > that the following bits???with the same meaning as for open(2)???may > be specified in flags: O_APPEND, O_CLOEXEC, and O_SYNC. Note that > when creating the file, mkostemp() includes the values O_RDWR, > O_CREAT, and O_EXCL in the flags argument given to open(2); > including these values in the flags argument given to mkostemp() > is unnecessary, and produces errors on some systems. ah i didnt see this, so it's not a musl bug