bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #21039] POSIXLY_CORRECT should imply -nowarn


From: Eric Blake
Subject: [bug #21039] POSIXLY_CORRECT should imply -nowarn
Date: Tue, 11 Sep 2007 17:21:19 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6

URL:
  <http://savannah.gnu.org/bugs/?21039>

                 Summary: POSIXLY_CORRECT should imply -nowarn
                 Project: findutils
            Submitted by: ericb
            Submitted on: Tuesday 09/11/2007 at 11:21
                Category: find
                Severity: 3 - Normal
              Item Group: Wrong result
                  Status: Confirmed
                 Privacy: Public
             Assigned to: None
         Originator Name: Eric Blake
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.3.8
           Fixed Release: None

    _______________________________________________________

Details:

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).





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?21039>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]