From: Dave Love Date: Fri, 23 Jun 2000 16:35:41 +0000 (+0000) Subject: Undefine setpgrp before setting it. X-Git-Tag: emacs-pretest-21.0.90~3095 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c8875a656cfba42f646c4f7e25429e2c3b1588ce;p=emacs.git Undefine setpgrp before setting it. --- diff --git a/src/sysdep.c b/src/sysdep.c index 7d1008584a6..39973d6cbd7 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -84,6 +84,7 @@ extern int h_errno; #ifdef HAVE_SETPGID #if !defined (USG) || defined (BSD_PGRPS) +#undef setpgrp #define setpgrp setpgid #endif #endif @@ -6503,8 +6504,8 @@ run_mac_command (argv, workdir, infn, outfn, errfn) { char *command, *t, tempmacpathname[MAXPATHLEN+1]; - /* The arguments for the command in argv[2] are separated by spaces. Count them and put - the count in newargc. */ + /* The arguments for the command in argv[2] are separated by + spaces. Count them and put the count in newargc. */ command = (char *) alloca (strlen (argv[2])+2); strcpy (command, argv[2]); if (command[strlen (command) - 1] != ' ')