Subject: bug#14821: Build broken on 64-bit Cygwin starting with bzr revision 113315

From: Ken Brown <[email-masked]>
Date: Tue, 09 Jul 2013 12:46:44 -0400

On 7/9/2013 12:17 PM, Eli Zaretskii wrote:
>> Date: Tue, 09 Jul 2013 08:33:03 -0400
>> From: Ken Brown <[email-masked]>
>> Cc: Paul Eggert <[email-masked]>
>>
>> But the point is that setmode shouldn't be used on Cygwin
>
> Why not?  What if the volume in question was mounted in text mode?
> And even if it wasn't, wouldn't setmode be a no-op?

No, the symbol 'setmode' is no longer exported in 64bit Cygwin.  That's 
what caused the build failure.  And the code in pipe2.c that calls 
setmode should never actually get executed on Cygwin anyway because of this:

         int result = pipe2 (fd, flags);
         if (!(result < 0 && errno == ENOSYS))
           {
             have_pipe2_really = 1;
             return result;

Ken