diff options
author | Gavin Atkinson <gavin@FreeBSD.org> | 2010-02-14 12:08:44 +0000 |
---|---|---|
committer | Gavin Atkinson <gavin@FreeBSD.org> | 2010-02-14 12:08:44 +0000 |
commit | 8310a1a27a78f5883a02cf2861f8d45ad8feec1f (patch) | |
tree | f3d104adafb6f8c07e375283da839a9696e47469 /usr.bin/find | |
parent | 80445d3f534352cfbe3a32f8cd2f57c20b57e55a (diff) | |
download | src-8310a1a27a78f5883a02cf2861f8d45ad8feec1f.tar.gz src-8310a1a27a78f5883a02cf2861f8d45ad8feec1f.zip |
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>
MFC after: 1 month
Notes
Notes:
svn path=/head/; revision=203865
Diffstat (limited to 'usr.bin/find')
-rw-r--r-- | usr.bin/find/function.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index 51d51531ebbd..1714627d1fc3 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -1164,6 +1164,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; } |