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

 
 

bug #21039: POSIXLY_CORRECT should imply -nowarn

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

Add a New Comment Rich Markup
   

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.

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

According to the Austin Group:
https://www.opengroup.org/sophocles/show_mail.tpl?CALLER=index.tpl&source=L&listname=austin-group-l&id=10994

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-d3ae.
    Corresponding source code