unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 12881-done@debbugs.gnu.org
Subject: bug#12881: Assume at least POSIX.1-1988 for fcntl.h
Date: Sat, 17 Nov 2012 14:17:14 -0800	[thread overview]
Message-ID: <50A80CEA.4030207@cs.ucla.edu> (raw)
In-Reply-To: <83mwyhswqo.fsf@gnu.org>

On 11/16/2012 01:49 AM, Eli Zaretskii wrote:
> I wonder how it compiled for you;
> presumably some other header on your platform includes fcntl.h
> internally

It's systty.h, which includes fcntl.h everywhere.
But it doesn't hurt to include it again, so I did that.
I took the other suggestions you made as well, except
that I moved the replacement definitions of O_RDWR and
O_NOCTTY into nt/inc/unistd.h rather than to some other
spot in term.c.  It's cleaner to define system macros
in our implementation of the system rather than in the
application.  In the longer run we may want to move those
macros to a new file that replaces fcntl.h, but that's
for another day.

I installed this as trunk bzr 110931 and am marking it as
done.





  parent reply	other threads:[~2012-11-17 22:17 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-14  7:37 bug#12881: Assume at least POSIX.1-1988 for fcntl.h Paul Eggert
2012-11-14 17:33 ` Eli Zaretskii
2012-11-15  6:32   ` Paul Eggert
2012-11-15 17:42     ` Eli Zaretskii
2012-11-15 20:07       ` Paul Eggert
2012-11-16  9:49         ` Eli Zaretskii
2012-11-16 14:37           ` Stefan Monnier
2012-11-16 14:55             ` Juanma Barranquero
2012-11-16 15:26               ` Stefan Monnier
2012-11-16 16:00                 ` Eli Zaretskii
2012-11-16 16:29                   ` Juanma Barranquero
2012-11-16 17:41                     ` Eli Zaretskii
2012-11-16 17:10                   ` Stefan Monnier
2012-11-16 17:14                     ` Juanma Barranquero
2012-11-16 17:20                       ` Juanma Barranquero
2012-11-16 17:44                     ` Eli Zaretskii
2012-11-16 17:52                       ` Drew Adams
2012-11-17 22:17           ` Paul Eggert [this message]
2012-11-18  3:46             ` Eli Zaretskii
2012-11-18  4:41               ` Paul Eggert
2012-11-18 16:58                 ` Eli Zaretskii
2012-11-16  4:38 ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50A80CEA.4030207@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=12881-done@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).