Author: gavin
Date: Wed Mar 17 20:16:28 2010
New Revision: 205256
URL: http://svn.freebsd.org/changeset/base/205256

Log:
  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>

Modified:
  stable/8/usr.bin/find/function.c
Directory Properties:
  stable/8/usr.bin/find/   (props changed)

Modified: stable/8/usr.bin/find/function.c
==============================================================================
--- stable/8/usr.bin/find/function.c    Wed Mar 17 20:13:09 2010        
(r205255)
+++ stable/8/usr.bin/find/function.c    Wed Mar 17 20:16:28 2010        
(r205256)
@@ -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;
        }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to