changeset 29911:02b0c6c15f1c

Undefine setpgrp before setting it.
author Dave Love <fx@gnu.org>
date Fri, 23 Jun 2000 16:35:41 +0000
parents e5461cec39b8
children e207edc5ac5e
files src/sysdep.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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] != ' ')