[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/


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.


Attachment: pidtest.patch
Description: Text document

reply via email to

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