aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-11-25 21:33:31 +0000
committerRichard M. Stallman1993-11-25 21:33:31 +0000
commitfdba859084232e8f8a0c571086d1242c749b48c4 (patch)
tree8e8d010be86d14d0d6fac9dee4a9958864ef0871 /src
parent0dfcc832b8868981e53078442289d1974b3a7a39 (diff)
downloademacs-fdba859084232e8f8a0c571086d1242c749b48c4.tar.gz
emacs-fdba859084232e8f8a0c571086d1242c749b48c4.zip
(child_setup): Test SETPGRP_RELEASES_CTTY, not IRIX.
(init_callproc): Fix previous change.
Diffstat (limited to 'src')
-rw-r--r--src/callproc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/callproc.c b/src/callproc.c
index bd60d942552..8d43ffe67f3 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -524,13 +524,13 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir)
524 close (out); 524 close (out);
525 close (err); 525 close (err);
526 526
527#if !defined (IRIX) 527#ifdef USG
528#if defined (USG) 528#ifndef SETPGRP_RELEASES_CTTY
529 setpgrp (); /* No arguments but equivalent in this case */ 529 setpgrp (); /* No arguments but equivalent in this case */
530#endif
530#else 531#else
531 setpgrp (pid, pid); 532 setpgrp (pid, pid);
532#endif /* USG */ 533#endif /* USG */
533#endif /* IRIX */
534 setpgrp_of_tty (pid); 534 setpgrp_of_tty (pid);
535 535
536#ifdef vipc 536#ifdef vipc
@@ -686,8 +686,8 @@ init_callproc ()
686 Vinvocation_directory); 686 Vinvocation_directory);
687 tem2 = Fexpand_file_name (Vdoc_file_name, tem); 687 tem2 = Fexpand_file_name (Vdoc_file_name, tem);
688 tem3 = Ffile_exists_p (tem2); 688 tem3 = Ffile_exists_p (tem2);
689 if (!NILP (tem2)) 689 if (!NILP (tem3))
690 Vdata_directory = tem; 690 Vdata_directory = Ffile_name_as_directory (tem);
691 } 691 }
692 } 692 }
693 } 693 }