From 5a426adc8be2780ce064591192b54820fc4c9dc0 Mon Sep 17 00:00:00 2001 From: gavin Date: Sun, 14 Feb 2010 12:08:44 +0000 Subject: 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" MFC after: 1 month --- usr.bin/find/function.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.bin/find') 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; } -- cgit v1.1