diff options
author | Dave Love <fx@gnu.org> | 2000-06-23 16:35:41 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2000-06-23 16:35:41 +0000 |
commit | b3ea27db15f1a3a2488530c3fd91a501a73407c0 (patch) | |
tree | ef4e8a9032e5e9e5717a5bfc21e8a022072f2558 /src/sysdep.c | |
parent | d23f5bca131ec949b9655748ea97dd53846d15ce (diff) | |
download | emacs-b3ea27db15f1a3a2488530c3fd91a501a73407c0.tar.gz |
Undefine setpgrp before setting it.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r-- | src/sysdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
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] != ' ') |