diff options
author | gavin <gavin@FreeBSD.org> | 2010-02-14 12:08:44 +0000 |
---|---|---|
committer | gavin <gavin@FreeBSD.org> | 2010-02-14 12:08:44 +0000 |
commit | 5a426adc8be2780ce064591192b54820fc4c9dc0 (patch) | |
tree | f3d104adafb6f8c07e375283da839a9696e47469 | |
parent | 05944abaa4f550b6819bbdd2632c74c251ec3f31 (diff) | |
download | FreeBSD-src-5a426adc8be2780ce064591192b54820fc4c9dc0.zip FreeBSD-src-5a426adc8be2780ce064591192b54820fc4c9dc0.tar.gz |
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
-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 51d5153..1714627 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; } |