This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC Fix for 9964.cc and 9507.cc on ia64-hpux
- From: Richard Henderson <rth at redhat dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org, Phil Edwards <phil at codesourcery dot com>, Benjamin Kosnik <bkoz at constant dot com>, Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Date: Mon, 2 Feb 2004 19:10:14 -0800
- Subject: Re: RFC Fix for 9964.cc and 9507.cc on ia64-hpux
- References: <87r7xcc2jr.fsf@egil.codesourcery.com>
On Mon, Feb 02, 2004 at 06:36:08PM -0800, Zack Weinberg wrote:
> Unfortunately, there may be some other UNIX kernel that objects to
> opening FIFOs with O_RDWR. As I said above, there is no way to get
> fopen() to call open() with just O_WRONLY. We cannot use an explicit
> open() and then basic_filebuf::sys_open() because the latter ignores
> ios_base::ate; if this problem exists in real life, we're going to
> have to add an entry point that does what sys_open() does but honors
> ios_base::ate.
What about using open+fdopen?
r~