RFC Fix for 9964.cc and 9507.cc on ia64-hpux

Richard Henderson rth@redhat.com
Tue Feb 3 03:10:00 GMT 2004


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~



More information about the Gcc-patches mailing list