|
From: | Ken Brown |
Subject: | bug#14821: Build broken on 64-bit Cygwin starting with bzr revision 113315 |
Date: | Tue, 09 Jul 2013 12:46:44 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
On 7/9/2013 12:17 PM, Eli Zaretskii wrote:
Date: Tue, 09 Jul 2013 08:33:03 -0400 From: Ken Brown <kbrown@cornell.edu> Cc: Paul Eggert <eggert@cs.ucla.edu> But the point is that setmode shouldn't be used on CygwinWhy 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
[Prev in Thread] | Current Thread | [Next in Thread] |