summaryrefslogtreecommitdiff
path: root/src/systty.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-05-20 02:14:56 +0000
committerJim Blandy <jimb@redhat.com>1993-05-20 02:14:56 +0000
commit1bfeec692e60a692a258a275ab77c027c7828441 (patch)
tree6463e8418f6d5c733f0d8389c8b20e7917f303a1 /src/systty.h
parentf4e0a0974ed06d7ae4763199d8c166661220ee9b (diff)
downloademacs-1bfeec692e60a692a258a275ab77c027c7828441.tar.gz
Some more changes from Michael K. Johnson for Linux.
* s/template.h: Mention that you should #define HAVE_TERMIO or HAVE_TERMIOS, but not both, and that HAVE_TERMIOS is preferred. * systty.h (EMACS_SET_TTY_PGRP): Don't assign the return value of tcsetpgrp to *pgid; it's just a status value. * config.h.in (HAVE_RANDOM): This shouldn't be defined on Linux systems using XFree386, and perhaps is inappropriate in general. * m/intel386.h: #undefine the integer size macros, since the Linux <values.h> file #defines them itself. * mem-limits.h (get_lim_data): Linux has the ulimit call; if it fails, fall back on ULIMIT_BREAK_VALUE. * process.c: Linux needs the WAITTYPE, etc. definitions. * unexec.c (hdr, ohdr): Linux has the ordinary `struct exec' type; no need to use SYSV names. * s/linux.h: New file.
Diffstat (limited to 'src/systty.h')
-rw-r--r--src/systty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systty.h b/src/systty.h
index a7c682cf7c1..897a3c28e93 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -218,7 +218,7 @@ static struct sensemode {
#ifdef HAVE_TERMIOS
#define EMACS_GET_TTY_PGRP(fd, pgid) (*(pgid) = tcgetpgrp ((fd)))
-#define EMACS_SET_TTY_PGRP(fd, pgid) (*(pgid) = tcsetpgrp ((fd), *(pgid)))
+#define EMACS_SET_TTY_PGRP(fd, pgid) (tcsetpgrp ((fd), *(pgid)))
#else
#ifdef TIOCSPGRP