helpAutoconf - Support: sr #110300, configure >/dev/full does not...

 
 

sr #110300: configure >/dev/full does not fail promptly

Submitted by:  Zack Weinberg <zackw>
Submitted on:  Fri 28 Aug 2020 02:54:33 PM UTC  
 
Category:  None Priority:  1 - Later
Severity:  3 - Normal Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  None

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 28 Aug 2020 02:56:23 PM UTC, comment #1: 

This is a long-standing issue.  Also, the cleanest way to detect these errors would be to turn on `set -e` mode, which would probably expose all kinds of other latent issues that we'd then have to fix.  So this is a post-2.70 project.

Zack Weinberg <zackw>
Project Administrator
Fri 28 Aug 2020 02:54:33 PM UTC, original submission:  

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.

Zack Weinberg <zackw>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by zackw (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-08-28 zackw Priority5 - Normal => 1 - Later

    Back to the top


    Powered by Savane 3.5