diff options
author | gavin <gavin@FreeBSD.org> | 2010-03-17 20:16:28 +0000 |
---|---|---|
committer | gavin <gavin@FreeBSD.org> | 2010-03-17 20:16:28 +0000 |
commit | 03b9b6f6a61712bb3175ebe0ad989c117793fd41 (patch) | |
tree | ad025e9e1152124312ff1d93bce85be0043d43cc /usr.bin | |
parent | 0912922b9bb007c49c890fb7b6d765db0f4d891f (diff) | |
download | FreeBSD-src-03b9b6f6a61712bb3175ebe0ad989c117793fd41.zip FreeBSD-src-03b9b6f6a61712bb3175ebe0ad989c117793fd41.tar.gz |
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>
Diffstat (limited to 'usr.bin')
-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 c11d24f..5a4b7d5 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -1165,6 +1165,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; } |