bugfindutils - Bugs: bug #31265, anewer not working consistently


bug #31265: anewer not working consistently

Submitted by:  Raffi Mohammed <soulonfire>
Submitted on:  Wed 06 Oct 2010 10:24:33 PM UTC  
Category:  find Severity:  3 - Normal
Item Group:  Wrong result Status:  Works For Me
Privacy:  Public Assigned to:  James Youngman <jay>
Originator Name:  Open/Closed:  Closed
Release:  4.1.20 Fixed Release:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 11 May 2011 08:27:05 AM UTC, comment #2: 

No response. Closing as obsolete.

James Youngman <jay>
Project AdministratorIn charge of this item.
Thu 07 Oct 2010 09:40:00 AM UTC, comment #1: 

You aren't using findutils version 4.1.20, because that would say "4.1.20" in response to --version.   You must be using findutils 4.1.7 or earlier.   Findutils 4.1.7 was released on 2001-05-20.   That is, it is more than nine years old.

Please reproduce your problem with a release of findutils which is less than two years old, for example findutils-4.4.2.

James Youngman <jay>
Project AdministratorIn charge of this item.
Wed 06 Oct 2010 10:24:33 PM UTC, original submission:  

Before I call a function I create a lock file for that function and inside the function I possibly create a tarball. In order to ensure the tarball is a new one and not a left over I check to ensure it's newer than the lock file. It doesn't seem to work consistently. I got around this problem by sleep'ing for 5 seconds and switching to
 newer from anewer. Was there a bug with this version of find ?

sleep 1 # to ensure there is atleast a difference of a second if the time comparisons are done in seconds instead of milliseconds or finer.
/opt/freeware/bin/find  . -name file.tar -anewer function_lock.txt

 locate --version
GNU locate version 4.1
AIX 5.3

Raffi Mohammed <soulonfire>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jay (Posted a comment)
  • -email is unavailable- added by soulonfire (Submitted the item)

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

    Only logged-in users can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-05-11 jay StatusNeed Info => Works For Me
        Assigned toNone => jay
        Open/ClosedOpen => Closed
    2010-10-07 jay StatusNone => Need Info

    Back to the top

    Powered by Savane 3.5