On Sep 8, 2015, at 9:12 PM, Ian Lance Taylor <i...@airs.com> wrote:
> Yes, I think this might be even better in code.  How about something
> like
> 
>  /* On some versions of AIX O_CLOEXEC does not fit in int, so use a
>     cast to force it.  */
>  descriptor = open (filename, (int) (O_RDONLY | O_BINARY | O_CLOEXEC));

How about:

  descriptor = open (filename, /* AIX */ (int) (O_RDONLY | O_BINARY | 
O_CLOEXEC));

?  It makes it removable in the nearer term.  :-)

Reply via email to