Fix Savannah bug # 1328: if stdout is redirected to a full filesystem, we

check for this and exit with an error.
The closeout.c version from gnulib pulls in too much other stuff, and
gnulib requires an ANSI C 89 compliant compiler, while GNU make (so far)
still wants to work on K&R.
This commit is contained in:
Paul Smith
2005-06-12 22:22:07 +00:00
parent 974d14ac4f
commit 467115baae
8 changed files with 84 additions and 6 deletions

View File

@@ -0,0 +1,9 @@
# -*-perl-*-
$description = "Make sure make exits with an error if stdout is full.";
if (-e '/dev/full') {
run_make_test('', '-v > /dev/full', '#MAKE#: write error', 256);
}
1;