This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]