]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a bug such that if you enabled sorting by size (-S) and enabled a
authorjhb <jhb@FreeBSD.org>
Fri, 24 Mar 2006 16:47:22 +0000 (16:47 +0000)
committerjhb <jhb@FreeBSD.org>
Fri, 24 Mar 2006 16:47:22 +0000 (16:47 +0000)
commit3feffffd9831cc82e1e3ebc7a648013c06c55d0d
treec4865cf0466ba36ae8f51f934ab849fe528005ff
parent64b8916c3ee96d1be07742f956b21ab9bd111b8f
Fix a bug such that if you enabled sorting by size (-S) and enabled a
flag to use a time other than modtime (-c, -u, or -U), the output would
actually be sorted by the specified time rather than size.  This does
alter the behavior in the case where both -S and -t are specified.  Now,
-S is always preferred.  Previously, -t was preferred if one of -c, -u, or
-U was specified, and -S was preferred otherwise.  Perhaps -S and -t should
override each other (last one specified wins).
bin/ls/ls.c