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;
        }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to