[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /dev/fd/n bug in gawk 3.1.5
From: |
Andrew J. Schorr |
Subject: |
Re: /dev/fd/n bug in gawk 3.1.5 |
Date: |
Mon, 3 Jul 2006 16:54:19 -0400 |
User-agent: |
Mutt/1.4.2.1i |
Hi,
Note that the pid test was failing silently: "make check" was
reporting "ALL TESTS PASSED" even though gawk was SEGV'ing
in the pid test. Attached is a patch to the pid test
that fixes this problem (i.e. the test will now fail noisily).
The problem was that the SEGV was aborting the script
prematurely, and leaving a zero-length output file, which was
precisely correct. The fix was to make sure that test/pid.awk
produces some output. That way we get a comparison failure
if the output file is empty.
Patch attached.
Regards,
Andy
pidtest.patch
Description: Text document