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: findSeverity: 3 - Normal
Item Group: Wrong resultStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Eric BlakeOpen/Closed: Closed
Release: 4.3.8Fixed 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.

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>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jay (Updated the item)
  • -unavailable- added by ericb (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 02 Dec 2007 01:48:22 PM UTCjayOpen/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.3.11
    Thu 22 Nov 2007 09:17:13 AM UTCjayStatusIn Progress=>Fixed
    Sat 17 Nov 2007 02:00:26 PM UTCjayAssigned toNone=>jay
    Sat 17 Nov 2007 02:00:13 PM UTCjayStatusConfirmed=>In Progress

    Back to the top


    Powered by Savane 3.1-cleanup1