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