[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #110300] configure >/dev/full does not fail promptly
From: |
Zack Weinberg |
Subject: |
[sr #110300] configure >/dev/full does not fail promptly |
Date: |
Fri, 28 Aug 2020 10:54:34 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
URL:
<https://savannah.gnu.org/support/?110300>
Summary: configure >/dev/full does not fail promptly
Project: Autoconf
Submitted by: zackw
Submitted on: Fri 28 Aug 2020 02:54:33 PM UTC
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
Status: Confirmed
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Operating System: None
_______________________________________________________
Details:
If you run a configure script with stdout pointed to a data sink that fails
all writes (e.g. `./configure > /dev/full` or `./configure 1< /dev/null`) you
get a flood of "printf: write error" messages, but the script runs all the way
to completion, and then it may or may not exit successfully depending on
exactly what you did.
The script should instead exit unsuccessfully after the first write error.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?110300>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [sr #110300] configure >/dev/full does not fail promptly,
Zack Weinberg <=