List Info

Thread: POSIXLY_CORRECT should imply -nowarn




POSIXLY_CORRECT should imply -nowarn
user name
2007-09-11 12:21:19
URL:
  <http://savann
ah.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: ebb9byu.net
             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?CA
LLER=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://savann
ah.gnu.org/bugs/?21039>

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





POSIXLY_CORRECT should imply -nowarn
user name
2007-11-22 03:17:14
Update of bug #21039 (project findutils):

                  Status:             In Progress =>
Fixed                  


    _______________________________________________________

Reply to this item at:

  <http://savann
ah.gnu.org/bugs/?21039>

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





POSIXLY_CORRECT should imply -nowarn
user name
2007-12-02 07:48:22
Update of bug #21039 (project findutils):

             Open/Closed:                    Open =>
Closed                 
           Fixed Release:                    None =>
4.3.11                 


    _______________________________________________________

Reply to this item at:

  <http://savann
ah.gnu.org/bugs/?21039>

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





[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )