gmake dumps core in case that the environment
contains a string without a '='.

Fix:

--- main.c      Sa Apr 16 18:21:43 2005
+++ main.c.orig Sa Aug 10 03:27:17 2002
@@ -1025,7 +1025,7 @@
       /* by default, everything gets defined and exported */
       do_not_define = 0;
 
-      while (*ep != '\0' && *ep != '=')
+      while (*ep != '=')
         ++ep;
 #ifdef WINDOWS32
       if (!unix_path && strneq(envp[i], "PATH=", 5))

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]        (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to