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: findSeverity: 3 - Normal
Item Group: Wrong resultStatus: Works For Me
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Open/Closed: Closed
Release: 4.1.20Fixed 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 May 2011 08:27:05 AM UTCjayStatusNeed Info=>Works For Me
      Assigned toNone=>jay
      Open/ClosedOpen=>Closed
    Thu 07 Oct 2010 09:40:00 AM UTCjayStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1