Module Name:    src
Committed By:   dsl
Date:           Sat Aug 22 21:43:53 UTC 2009

Modified Files:
        src/usr.bin/sort: sort.c

Log Message:
Put radixsort() and sradixsort() the correct way around.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/usr.bin/sort/sort.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/sort/sort.c
diff -u src/usr.bin/sort/sort.c:1.52 src/usr.bin/sort/sort.c:1.53
--- src/usr.bin/sort/sort.c:1.52	Sat Aug 22 10:53:28 2009
+++ src/usr.bin/sort/sort.c	Sat Aug 22 21:43:53 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: sort.c,v 1.52 2009/08/22 10:53:28 dsl Exp $	*/
+/*	$NetBSD: sort.c,v 1.53 2009/08/22 21:43:53 dsl Exp $	*/
 
 /*-
  * Copyright (c) 2000-2003 The NetBSD Foundation, Inc.
@@ -76,7 +76,7 @@
 #endif /* not lint */
 
 #ifndef lint
-__RCSID("$NetBSD: sort.c,v 1.52 2009/08/22 10:53:28 dsl Exp $");
+__RCSID("$NetBSD: sort.c,v 1.53 2009/08/22 21:43:53 dsl Exp $");
 __SCCSID("@(#)sort.c	8.1 (Berkeley) 6/6/93");
 #endif /* not lint */
 
@@ -196,10 +196,10 @@
 			break;
 		case 's':
 			/* for GNU sort compatibility (this is our default) */
-			radix_sort = radixsort;
+			radix_sort = sradixsort;
 			break;
 		case 'S':
-			radix_sort = sradixsort;
+			radix_sort = radixsort;
 			break;
 		case 't':
 			if (SEP_FLAG)

Reply via email to