[Top][All Lists]
[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 17:58:15 +0200 (CEST) |
On Fri, 10 Oct 2003, Gary V. Vaughan wrote:
> Martin MOKREJŠ wrote:
> > On Thu, 9 Oct 2003, Gary V. Vaughan wrote:
> >
> > Yes, I can build with this patch, please apply to cvs. But the story is not
> > over .... :(
>
> Okay cool, applied. We're getting there :-)
>
> > 43: modules: importing FAILED (modules.at:376)
>
> This one is now fixed in CVS too, I hope. An error in the testsuite, rather
> than a problem with m4.
Yes, fixed.
> > 2: Arity, defn, and freeze FAILED (macros.at:78)
> > 34: Freezing modules FAILED (modules.at:59)
>
> 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:
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
- Re: m4-1.4q on Tru64Unix, (continued)
- Re: m4-1.4q on Tru64Unix, Gary V. Vaughan, 2003/10/09
- Re: m4-1.4q on Tru64Unix, Akim Demaille, 2003/10/09
- Re: m4-1.4q on Tru64Unix, Martin MOKREJŠ, 2003/10/09
- Re: m4-1.4q on Tru64Unix, Gary V. Vaughan, 2003/10/09
- Re: m4-1.4q on Tru64Unix, Martin MOKREJŠ, 2003/10/09
- Re: m4-1.4q on Tru64Unix, Martin MOKREJŠ, 2003/10/09
- Re: m4-1.4q on Tru64Unix, Gary V. Vaughan, 2003/10/10
- Re: m4-1.4q on Tru64Unix, Martin MOKREJŠ, 2003/10/10
- Re: m4-1.4q on Tru64Unix, Gary V. Vaughan, 2003/10/14
- Re: m4-1.4q on Tru64Unix, Martin MOKREJŠ, 2003/10/14
- Re: m4-1.4q on Tru64Unix,
Martin MOKREJŠ <=
- Re: m4-1.4q on Tru64Unix, Martin MOKREJŠ, 2003/10/10
- Translit builtin bug, Gary V. Vaughan, 2003/10/09
- Re: Translit builtin bug, Akim Demaille, 2003/10/10
- Re: m4-1.4q on Tru64Unix, Martin MOKREJŠ, 2003/10/09
Re: m4-1.4q on Tru64Unix, Martin MOKREJŠ, 2003/10/09