comparison src/emacs.c @ 7716:a5dabfde673c

(main): In batch mode, don't set the pgrp.
author Richard M. Stallman <rms@gnu.org>
date Sat, 28 May 1994 04:46:38 +0000
parents c4d128d26fc9
children ddcb81020fa1
comparison
equal deleted inserted replaced
7715:79342f44134d 7716:a5dabfde673c
407 brk (bss_end); 407 brk (bss_end);
408 #endif 408 #endif
409 409
410 clearerr (stdin); 410 clearerr (stdin);
411 411
412 if (! noninteractive1)
413 {
412 #ifdef BSD_PGRPS 414 #ifdef BSD_PGRPS
413 if (initialized) 415 if (initialized)
414 { 416 {
415 inherited_pgroup = EMACS_GETPGRP (0); 417 inherited_pgroup = EMACS_GETPGRP (0);
416 setpgrp (0, getpid ()); 418 setpgrp (0, getpid ());
417 } 419 }
418 #else 420 #else
419 #if defined (USG5) && defined (INTERRUPT_INPUT) 421 #if defined (USG5) && defined (INTERRUPT_INPUT)
420 setpgrp (); 422 setpgrp ();
421 #endif 423 #endif
422 #endif 424 #endif
423 425 }
424 426
425 #ifdef APOLLO 427 #ifdef APOLLO
426 #ifndef APOLLO_SR10 428 #ifndef APOLLO_SR10
427 /* If USE_DOMAIN_ACLS environment variable exists, 429 /* If USE_DOMAIN_ACLS environment variable exists,
428 use ACLs rather than UNIX modes. */ 430 use ACLs rather than UNIX modes. */