sort(1): Remove duplicate option check
Reviewed by: lwhsu, emaste Approved by: emaste Obtained from: DragonFlyBSD MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D23892
This commit is contained in:
parent
a969635b83
commit
2d955e4199
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365458
@ -1236,7 +1236,7 @@ sort_list_to_file(struct sort_list *list, const char *outfile)
|
|||||||
{
|
{
|
||||||
struct sort_mods *sm = &(keys[0].sm);
|
struct sort_mods *sm = &(keys[0].sm);
|
||||||
|
|
||||||
if (!(sm->Mflag) && !(sm->Rflag) && !(sm->Vflag) && !(sm->Vflag) &&
|
if (!(sm->Mflag) && !(sm->Rflag) && !(sm->Vflag) &&
|
||||||
!(sm->gflag) && !(sm->hflag) && !(sm->nflag)) {
|
!(sm->gflag) && !(sm->hflag) && !(sm->nflag)) {
|
||||||
if ((sort_opts_vals.sort_method == SORT_DEFAULT) && byte_sort)
|
if ((sort_opts_vals.sort_method == SORT_DEFAULT) && byte_sort)
|
||||||
sort_opts_vals.sort_method = SORT_RADIXSORT;
|
sort_opts_vals.sort_method = SORT_RADIXSORT;
|
||||||
|
Loading…
Reference in New Issue
Block a user