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
This commit is contained in:
Gavin Atkinson 2010-02-14 12:08:44 +00:00
parent 80445d3f53
commit 8310a1a27a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=203865

View File

@ -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;
}