bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU make dumps core


From: Joerg Schilling
Subject: GNU make dumps core
Date: Sun, 17 Apr 2005 12:33:24 +0200
User-agent: nail 11.2 8/15/04

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:address@hidden (home) Jörg Schilling D-13353 Berlin
       address@hidden           (uni)  
       address@hidden   (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily




reply via email to

[Prev in Thread] Current Thread [Next in Thread]