From: Andreas Schwab <schwab@linux-m68k.org>
To: Dan Nicolaescu <dann@gnu.org>
Cc: Ken Brown <kbrown@cornell.edu>, emacs-devel <emacs-devel@gnu.org>
Subject: Re: EMACS_GET_TTY_PGRP vs. emacs_get_tty_pgrp
Date: Wed, 20 Oct 2010 23:36:14 +0200 [thread overview]
Message-ID: <m2tykgo8c1.fsf@igel.home> (raw)
In-Reply-To: <yxq7hhc8v83.fsf@fencepost.gnu.org> (Dan Nicolaescu's message of "Wed, 20 Oct 2010 16:28:28 -0400")
Dan Nicolaescu <dann@gnu.org> writes:
> The comment in emacs_get_tty_pgrp looks scary, it does not look
> obvious that the code in the function can be replaced with tcgetpgrp.
> Maybe it can, but, IMHO, it needs testing on a few platforms.
In all Unix systems that define both they should be identical
(ie. tcgetpgrp just calls the TIOCGPGRP ioctl).
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
prev parent reply other threads:[~2010-10-20 21:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 14:22 EMACS_GET_TTY_PGRP vs. emacs_get_tty_pgrp Ken Brown
2010-10-20 15:14 ` Andreas Schwab
2010-10-20 18:39 ` Ken Brown
2010-10-20 18:59 ` Dan Nicolaescu
2010-10-20 20:01 ` Ken Brown
2010-10-20 20:21 ` Eli Zaretskii
2010-10-20 20:28 ` Dan Nicolaescu
2010-10-20 21:28 ` Ken Brown
2010-10-20 21:36 ` Andreas Schwab [this message]
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=m2tykgo8c1.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=dann@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=kbrown@cornell.edu \
/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).