bug-m4
[Top][All Lists]
Advanced

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

Re: diversion failure [was: snapshot in preparation for m4 1.4.12]


From: Alain Guibert
Subject: Re: diversion failure [was: snapshot in preparation for m4 1.4.12]
Date: Mon, 11 Aug 2008 23:16:42 +0200 (CEST)
User-agent: Mutt/1.4.2.3i

Hello Eric, thanks for your support,

 On Monday, August 11, 2008 at 7:00:34 -0600, Eric Blake wrote:

> platforms where fopen(file,"a+") opened at the end instead of the
> beginning of the file

Libc5 fopen(a+)s at the end of file, according to fopen(2) manpage, and
confirmed by a quick test run.


> Could you run:
>
> $ cat > in.m4 <<\EOF
> divert(1)hi
> format(%1000000d,1)
> EOF
> $ strace -o trace.out m4 in.m4 > /dev/null
>
> then attach trace.out (compressed, if desired)?

Running "/tmp/m4-1.4.11.34-9ecd/src/m4 in.m4" segfaults in vfprintf(),
unless the in.m4 %d number is reduced below 1020. trace.out.gz attached.


Alain.

Attachment: trace.out.gz
Description: application/gunzip


reply via email to

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