Hi,

        The following was reported by a Debian user. It is a simple
 fix, and seems correct.

        manoj

--- Begin Message ---
Package: make
Version: 3.80-8
Severity: normal
Tags: patch

make checks at several places "v->special" (where v is a "struct
variable"), but never seems to set this bit to 0. I haven't seen this
give actual errors anywhere, but it cropped up as valgrind hits while
trying to debug a makefile (the makefile was wrong, not make, though :-)
).

The included patch explicitly sets v->special to 0 at initialization
time, which fixes the valgrind hits.


-- System Information:
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6
Locale: LANG=C, LC_CTYPE=en_US.ISO8859-1

Versions of packages make depends on:
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an

-- no debconf information
--- variable.c  2002-10-04 04:13:42.000000000 +0200
+++ ../make-3.80-patched/variable.c     2004-07-20 20:40:25.000000000 +0200
@@ -160,6 +160,7 @@
   v->per_target = 0;
   v->append = 0;
   v->export = v_default;
+  v->special = 0;
 
   v->exportable = 1;
   if (*name != '_' && (*name < 'A' || *name > 'Z')

--- End Message ---

-- 
I've got a COUSIN who works in the GARMENT DISTRICT ...
Manoj Srivastava   <[EMAIL PROTECTED]>  <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C
_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to