svn commit: r365747 - stable/12/usr.bin/sort

Gordon Bergling gbe at FreeBSD.org
Tue Sep 15 09:27:02 UTC 2020


Author: gbe (doc committer)
Date: Tue Sep 15 09:27:01 2020
New Revision: 365747
URL: https://svnweb.freebsd.org/changeset/base/365747

Log:
  MFC r365458: sort(1): Remove duplicate option check
  
  Reviewed by:	lwhsu, emaste
  Approved by:	emaste
  Obtained from:	DragonFlyBSD
  Differential Revision:	https://reviews.freebsd.org/D23892

Modified:
  stable/12/usr.bin/sort/file.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/usr.bin/sort/file.c
==============================================================================
--- stable/12/usr.bin/sort/file.c	Tue Sep 15 08:54:00 2020	(r365746)
+++ stable/12/usr.bin/sort/file.c	Tue Sep 15 09:27:01 2020	(r365747)
@@ -1236,7 +1236,7 @@ sort_list_to_file(struct sort_list *list, const char *
 {
 	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)) {
 		if ((sort_opts_vals.sort_method == SORT_DEFAULT) && byte_sort)
 			sort_opts_vals.sort_method = SORT_RADIXSORT;


More information about the svn-src-stable mailing list