aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-06-17 23:25:37 +0000
committerJim Blandy1993-06-17 23:25:37 +0000
commit1319549a9afd3f3d449bdb849187bd025bdc5943 (patch)
tree091388992d5d873e9f76e449a77d46d1dfd70791 /src
parent586388410a628593a4146d87c431cecf5a62e22c (diff)
downloademacs-1319549a9afd3f3d449bdb849187bd025bdc5943.tar.gz
emacs-1319549a9afd3f3d449bdb849187bd025bdc5943.zip
* m/iris4d.h (LIB_STANDARD): Do *not* include -lbsd. We are
now calling the BSD[sg]etpgrp functions directly, so this library is not needed; it just provides the BSD[sg]etpgrp functions under the [sg]etpgrp names. * callproc.c [IRIX] (child_setup): Don't call setpgrp this time. It's already been called up in Fcall_process, and create_process.
Diffstat (limited to 'src')
-rw-r--r--src/callproc.c4
-rw-r--r--src/m/iris4d.h4
2 files changed, 5 insertions, 3 deletions
diff --git a/src/callproc.c b/src/callproc.c
index 55d97a69ac0..1436a231d72 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -519,11 +519,13 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir)
519 close (out); 519 close (out);
520 close (err); 520 close (err);
521 521
522#if defined (USG) && !defined (IRIX) 522#if !defined (IRIX)
523#if defined (USG)
523 setpgrp (); /* No arguments but equivalent in this case */ 524 setpgrp (); /* No arguments but equivalent in this case */
524#else 525#else
525 setpgrp (pid, pid); 526 setpgrp (pid, pid);
526#endif /* USG */ 527#endif /* USG */
528#endif /* IRIX */
527 setpgrp_of_tty (pid); 529 setpgrp_of_tty (pid);
528 530
529#ifdef vipc 531#ifdef vipc
diff --git a/src/m/iris4d.h b/src/m/iris4d.h
index 04b85467b7f..06a5e57bd4c 100644
--- a/src/m/iris4d.h
+++ b/src/m/iris4d.h
@@ -148,12 +148,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
148#ifdef HAVE_CRTN 148#ifdef HAVE_CRTN
149/* Must define START-FILES so that the linker can find /usr/lib/crt0.o. */ 149/* Must define START-FILES so that the linker can find /usr/lib/crt0.o. */
150#define START_FILES pre-crt0.o /usr/lib/crt1.o 150#define START_FILES pre-crt0.o /usr/lib/crt1.o
151#define LIB_STANDARD -lbsd -lc /usr/lib/crtn.o 151#define LIB_STANDARD -lc /usr/lib/crtn.o
152#else 152#else
153#define START_FILES pre-crt0.o /usr/lib/crt0.o 153#define START_FILES pre-crt0.o /usr/lib/crt0.o
154/* The entry-point label (start of text segment) is `start', not `__start'. */ 154/* The entry-point label (start of text segment) is `start', not `__start'. */
155#define DEFAULT_ENTRY_ADDRESS start 155#define DEFAULT_ENTRY_ADDRESS start
156#define LIB_STANDARD -lbsd -lc 156#define LIB_STANDARD -lc
157#endif 157#endif
158 158
159/* Use terminfo instead of termcap. */ 159/* Use terminfo instead of termcap. */