This is the mail archive of the cygwin mailing list for the Cygwin 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: fcntl bug


On Sun, Aug 30, 2009 at 06:32:59PM -0600, Eric Blake wrote:
>According to Eric Blake on 8/24/2009 9:15 AM:
>>While we're at it, fcntl and dup2 both have another minor bug.  POSIX
>>states that fcntl(0,F_DUPFD,10000000) should fail with EINVAL (not
>>EBADF) and the similar dup2(0,10000000) should fail with EBADF (not
>>EMFILE).
>
>Ping.  Cygwin is currently failing a test in coreutils' 7.5 testsuite
>because of this.

I have no intention of going to the effort of fixing these trivial
problems.

If it is important to you then please provide a patch.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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