bug-findutils
[Top][All Lists]
Advanced

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

[bugs #12099] O_NOFOLLOW may be erroneously disabled


From: Dmitry V. Levin
Subject: [bugs #12099] O_NOFOLLOW may be erroneously disabled
Date: Tue, 22 Feb 2005 15:11:12 +0000
User-agent: ELinks

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12099>

                 Summary: O_NOFOLLOW may be erroneously disabled
                 Project: findutils
            Submitted by: ldv
            Submitted on: Tue 02/22/2005 at 15:11
                Category: find
                Severity: 5 - Average
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 4.2.18
           Fixed Release: None

    _______________________________________________________

Details:

check_nofollow() uses locale-dependant function atof(3) to calculate kernel
version number.
Various locales have various decimal points, so check_nofollow() may fail to
calculate correct kernel version number.
For example, ru_RU.* locales use "," as decimal point.
As result, O_NOFOLLOW gets disabled e.g. on GNU/Linux when used with these
locales.

This could be fixed either by moving check_nofollow() call before
setlocale(3) call, or by changing kernel version parser to avoid locale
dependency.






    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12099>

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





reply via email to

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