GNU bug report logs - #15129
24.3.50; Emacs broken on FreeBSD in/after r113315

Previous Next

Package: emacs;

Reported by: ashish.is <at> lostca.se (Ashish SHUKLA)

Date: Mon, 19 Aug 2013 06:31:04 UTC

Severity: important

Found in version 24.3.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 15129 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Ashish SHUKLA <ashish.is <at> lostca.se>
Cc: 15129 <at> debbugs.gnu.org
Subject: Re: Emacs broken on FreeBSD in/after r113315
Date: Tue, 20 Aug 2013 23:16:37 -0700
I looked into this a bit more.

As I understand it, FreeBSD 8 posix_openpt supports O_CLOEXEC
but this is undocumented, FreeBSD 9 posix_openpt rejects
attempts to use O_CLOEXEC, and future FreeBSD posix_openpt
will support O_CLOEXEC again.  See:

http://lists.freebsd.org/pipermail/freebsd-bugs/2011-November/046295.html
http://bogomips.org/ruby.git/patch/?id=452bf3b9c954d770ccb704cb9f5470f515e00584

What a mess, huh?  I installed two patches as trunk
bzr 113963 and 113964 to try to work around FreeBSD's
flip-flopping on this issue.  Please let us know if they
fix your problem.




This bug report was last modified 11 years and 279 days ago.

Previous Next


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