Mercurial > emacs
view src/s/sol2.h @ 3782:5b61a650f347
Changes for correct pgrp behavior from Bob Glickstein
<bobg@zindigo.z-code.com>:
* m/iris4d.h (LIB_STANDARD): Do include -lbsd here.
* s/irix4-0.h (USE_IRIX_BSDPGRP): #define this.
(GETPGRP_NO_ARG): Don't #define this.
* callproc.c [USE_IRIX_BSDPGRP] (Fcall_process): Call BSDsetpgrp
instead of plain setpgrp.
[USE_IRIX_BSDPGRP] (child_setup): Same.
* emacs.c [GETPGRP_NO_ARG] (main, shut_down_emacs): CPP clauses
deleted; this flag isn't needed anymore.
[USE_IRIX_BSDPGRP] (main, shut_down_emacs): Call BSDsetpgrp and
BSDgetpgrp instead of plain setpgrp and getpgrp.
* process.c [USE_IRIX_BSDPGRP] (create_process): Don't call
setpgrp before opening the tty. Call BSDsetpgrp instead of
setpgrp, after opening the tty.
* sysdep.c [USE_IRIX_BSDPGRP] (sys_suspend,
narrow_foreground_group, widen_foreground_group): Call BSDgetpgrp
and BSDsetpgrp instead of getpgrp and setpgrp.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Wed, 16 Jun 1993 23:49:54 +0000 |
parents | 7930bf123cb7 |
children | 14c8cd7926a0 |
line wrap: on
line source
#include "usg5-4.h" /* This triggers a conditional in xfaces.c. */ #define XOS_NEEDS_TIME_H #define POSIX /* Here is how to find X Windows. The -R option says where to find X windows at run time. */ #ifndef __GNUC__ #define LD_SWITCH_SYSTEM -R/usr/openwin/lib #else /* GCC */ #define LD_SWITCH_SYSTEM -Xlinker -R/usr/openwin/lib #endif /* GCC */ /* Compile in non-ansi fashion to work around bugs in system header files. */ #ifndef __GNUC__ #define C_SWITCH_SYSTEM -Xs #else /* GCC */ #define C_SWITCH_SYSTEM -traditional #endif /* GCC */ #define const /* Karl Berry writes: If you have the misfortune to be running Solaris 2.1, you may have noticed that the access system call does not check the readonlyness of the filesystem the path refers to. This is a bug, according to access(2), but in the meantime, some of us need the right behavior. */ /* Well, we released Emacs with this change, and fixed a typo, but people keep saying that it doesn't work, and that the patch is easy to install. Patch number is 100947-02. */ #undef SOLARIS_BROKEN_ACCESS