svn commit: r205257 - stable/7/usr.bin/find
Gavin Atkinson
gavin at FreeBSD.org
Wed Mar 17 20:17:25 UTC 2010
Author: gavin
Date: Wed Mar 17 20:17:25 2010
New Revision: 205257
URL: http://svn.freebsd.org/changeset/base/205257
Log:
Merge r203865 from head:
The -newerXB option was being interpreted the same as the -newerXm option
as a check for F_TIME2_B was missing. Fix this.
PR: bin/138245
Submitted by: "David E. Cross" <crossd cs.rpi.edu>
Modified:
stable/7/usr.bin/find/function.c
Directory Properties:
stable/7/usr.bin/find/ (props changed)
Modified: stable/7/usr.bin/find/function.c
==============================================================================
--- stable/7/usr.bin/find/function.c Wed Mar 17 20:16:28 2010 (r205256)
+++ stable/7/usr.bin/find/function.c Wed Mar 17 20:17:25 2010 (r205257)
@@ -1122,6 +1122,8 @@ c_newer(OPTION *option, char ***argvp)
new->t_data = sb.st_ctime;
else if (option->flags & F_TIME2_A)
new->t_data = sb.st_atime;
+ else if (option->flags & F_TIME2_B)
+ new->t_data = sb.st_birthtime;
else
new->t_data = sb.st_mtime;
}
More information about the svn-src-stable-7
mailing list