# HG changeset patch # User Dave Love # Date 961778141 0 # Node ID 02b0c6c15f1c6f1582691f26b2f8beb82a7fa726 # Parent e5461cec39b8637adcffa4d4be7bd8e958dfbfb9 Undefine setpgrp before setting it. diff -r e5461cec39b8 -r 02b0c6c15f1c src/sysdep.c --- a/src/sysdep.c Fri Jun 23 16:31:30 2000 +0000 +++ b/src/sysdep.c Fri Jun 23 16:35:41 2000 +0000 @@ -84,6 +84,7 @@ #ifdef HAVE_SETPGID #if !defined (USG) || defined (BSD_PGRPS) +#undef setpgrp #define setpgrp setpgid #endif #endif @@ -6503,8 +6504,8 @@ { 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] != ' ')