GNU bug report logs - #14821
Build broken on 64-bit Cygwin starting with bzr revision 113315

Previous Next

Package: emacs;

Reported by: Ken Brown <kbrown <at> cornell.edu>

Date: Mon, 8 Jul 2013 15:48:02 UTC

Severity: normal

Done: Ken Brown <kbrown <at> cornell.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ken Brown <kbrown <at> cornell.edu>
Cc: 14821 <at> debbugs.gnu.org, eggert <at> cs.ucla.edu
Subject: bug#14821: Build broken on 64-bit Cygwin starting with bzr revision 113315
Date: Tue, 09 Jul 2013 20:07:08 +0300
> Date: Tue, 09 Jul 2013 12:46:44 -0400
> From: Ken Brown <kbrown <at> cornell.edu>
> CC: 14821 <at> debbugs.gnu.org, eggert <at> cs.ucla.edu
> 
> the symbol 'setmode' is no longer exported in 64bit Cygwin.

Are you saying that there's no way of reading files in text mode while
removing CR characters from CR-LF pairs?

> 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;

So define setmode away for Cygwin versions that don't have it.  Not
everyone runs the bleeding edge.





This bug report was last modified 12 years and 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.