bugfindutils - Bugs: bug #21039, POSIXLY_CORRECT should imply...


bug #21039: POSIXLY_CORRECT should imply -nowarn

Submitted by:  Eric Blake <ericb>
Submitted on:  Tue 11 Sep 2007 05:21:17 PM UTC  
Category:  find Severity:  3 - Normal
Item Group:  Wrong result Status:  Fixed
Privacy:  Public Assigned to:  James Youngman <jay>
Originator Name:  Eric Blake Open/Closed:  Closed
Release:  4.3.8 Fixed Release:  4.3.11

Add a New Comment (Rich Markup)

You are not logged in

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


Sat 15 Sep 2007 12:42:25 PM UTC, comment #1: 

The warnings are also VERY annoying with such a blatant disregard of the standard functionality there needs to be a way to turn this windows style misfeature off permanently without changing command lines.

Tue 11 Sep 2007 05:21:17 PM UTC, original submission:  

According to the Austin Group:

find is in violation of POSIX if it prints any warning message without affecting exit status.

Either we should make POSIXLY_CORRECT imply -nowarn (since the POSIX-conformant user can't use the extension -nowarn themselves), or we should affect the exit status any time a warning is printed.  I very much prefer the former (ie. printing warnings with an exit status of 0 is a very useful behavior, albeit non-POSIX, so it would be much nicer to just state that when the user has requested POSIX behavior, they don't want warnings).

Eric Blake <ericb>
Project Administrator


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

Attach Files:

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 jay (Updated the item)
  • -email is unavailable- added by ericb (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.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-02 jay Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.3.11
    2007-11-22 jay StatusIn Progress => Fixed
    2007-11-17 jay Assigned toNone => jay
    2007-11-17 jay StatusConfirmed => In Progress

    Back to the top

    Powered by Savane 3.5