bug-findutils
[Top][All Lists]
Advanced

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

[bug #15472] Inodes in error message are wrong


From: Eric Blake
Subject: [bug #15472] Inodes in error message are wrong
Date: Wed, 18 Jan 2006 07:22:27 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

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

                 Summary: Inodes in error message are wrong
                 Project: findutils
            Submitted by: ericb
            Submitted on: Wed 01/18/06 at 07:22
                Category: find
                Severity: 3 - Normal
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Eric Blake
        Originator Email: 
             Open/Closed: Open
                 Release: 4.2.27
           Fixed Release: None

    _______________________________________________________

Details:

Someone reported on cygwin that they encountered the following error message
from find 4.2.27:

find: //desdata1/divisions/frameworks/share/Tools/BrainTools changed during
execution of find (old inode number -411813144, new
inode number -457114904, filesystem type is system) [ref 1114]

However, on cygwin, ino_t is unsigned long long (64 bits, never negative). 
The code in wd_sanity_check() that prints values of type ino_t by using %ld
on (long)old_ino loses data, and is misleading when a negative number
results; it would be better to use %llu on (uintmax_t)old_ino.







    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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