Date: Sun, 14 Feb 2010 12:08:44 +0000 (UTC) From: Gavin Atkinson <gavin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r203865 - head/usr.bin/find Message-ID: <201002141208.o1EC8iln065555@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gavin Date: Sun Feb 14 12:08:44 2010 New Revision: 203865 URL: http://svn.freebsd.org/changeset/base/203865 Log: 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 Modified: head/usr.bin/find/function.c Modified: head/usr.bin/find/function.c ============================================================================== --- head/usr.bin/find/function.c Sun Feb 14 12:04:25 2010 (r203864) +++ head/usr.bin/find/function.c Sun Feb 14 12:08:44 2010 (r203865) @@ -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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002141208.o1EC8iln065555>