URL:
<http://savannah.gnu.org/bugs/?20005>
Summary: find -mtime [+-n]" is broken (behaves as "-mtime
n")
Project: findutils
Submitted by: ametzler
Submitted on: Dienstag 29.05.2007 um 20:00
Category: find
Severity: 3 - Normal
Item Group: Wrong result
Status: None
Privacy: Public
Assigned to: None
Originator Name: Roderich Schupp
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.3.6
Fixed Release: None
_______________________________________________________
Details:
This is http://bugs.debian.org/426505 submitted by Roderich Schupp. There is
nothing to add, I have verified his findings. (Thanks, Roderich!)
cu andreas
----------------------------------------------------
Package: findutils
Version: 4.3.6-1
Severity: normal
"find -mtime [+-]n" is broken:
$ date
Tue May 29 00:33:37 CEST 2007
$ find 2007-05-2* -type f -ls
1986025 4 -rw-r--r-- 1 schupp users 210 May 25 19:54
2007-05-25/JOBS
1995532 4 -rw-r--r-- 1 schupp users 141 May 26 20:40
2007-05-26/JOBS
1997118 4 -rw-r--r-- 1 schupp users 197 May 27 18:48
2007-05-27/JOBS
9429 4 -rw-r--r-- 1 schupp users 625 May 28 21:12
2007-05-28/JOBS
$ find 2007-05-2* -type f -mtime -3 -ls
1986025 4 -rw-r--r-- 1 schupp users 210 May 25 19:54
2007-05-25/JOBS
$ find 2007-05-2* -type f -mtime -2 -ls
1995532 4 -rw-r--r-- 1 schupp users 141 May 26 20:40
2007-05-26/JOBS
$ find 2007-05-2* -type f -mtime -1 -ls
1997118 4 -rw-r--r-- 1 schupp users 197 May 27 18:48
2007-05-27/JOBS
Results are the same if I replace -n with +n, or just n (in which case the
results are correct). This behaviour is a regression from 4.3.5-1.
Cheers, Roderich
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20005>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils