[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix for fcntl() return value incompatibility on qnx (spec) versus
From: |
Larry Jones |
Subject: |
Re: Fix for fcntl() return value incompatibility on qnx (spec) versus |
Date: |
Thu, 18 Dec 2003 11:39:00 -0500 (EST) |
George Refseth writes:
>
> The following patch while following the POSIX 1003.1 specification for the
> use of
> fcntl(fd, F_SETFD, 0x1) return value, works on Red Hat and Debian Linux,
> and
> fixes
> an incompatiblilty problem on QNX 6.2.1. There the return value when fcntl
> returns
> successfully are not defined to 0. Only not -1, in the case of F_SETFD.
Checked in. Thanks!
-Larry Jones
I'm so disappointed. -- Calvin