bug-m4
[Top][All Lists]
Advanced

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

Re: m4-1.4q on Tru64Unix


From: Martin MOKREJŠ
Subject: Re: m4-1.4q on Tru64Unix
Date: Fri, 10 Oct 2003 18:28:54 +0200 (CEST)

On Fri, 10 Oct 2003, Martin MOKREJŠ wrote:

> On Fri, 10 Oct 2003, Gary V. Vaughan wrote:
>
> > Hmmm.  Somehow strlen is getting a NULL pointer, but I don't have enough
> > context to understand how that is happening.
> >
> > Can you send me the text files from testsuite.dir/2 and /34 please?
> >
> > If you change freeze.c:120-123 to read:
> >
> >    if (name)
> >      {
> >        fprintf (file, "M%lu\n", (unsigned long) strlen (name));
> >        fputs (name, file);
> >        fputc ('\n', file);
> >      }
> >
> > That will stop the SEGV, but I fear there is something deeper going wrong, 
> > as
> > one of the handles must have a null name.
>
> No, still sigsegv:

Sorry, I wanted to say: no SIGSEGV with this patch, but still test failure:

tests.tgz attached

>
> Index: src/freeze.c
> ===================================================================
> RCS file: /cvsroot/m4/m4/src/freeze.c,v
> retrieving revision 1.36
> diff -u -w -r1.36 freeze.c
> --- src/freeze.c        8 Oct 2003 14:46:14 -0000       1.36
> +++ src/freeze.c        10 Oct 2003 15:55:03 -0000
> @@ -117,9 +117,12 @@
>    if (handle)
>      produce_module_dump (file, handle);
>
> +  if (name)
> +  {
>    fprintf (file, "M%lu\n", (unsigned long) strlen (name));
>    fputs (name, file);
>    fputc ('\n', file);
> +  }
>  }
>
>  /* Process all entries in one bucket, from the last to the first.
>
>

-- 
Martin Mokrejs <address@hidden>, <address@hidden>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585

Attachment: tests.tgz
Description: Binary data


reply via email to

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