Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/sort Put radixsort() and sradixsort() the correct wa...



details:   https://anonhg.NetBSD.org/src/rev/76e2ed063400
branches:  trunk
changeset: 746894:76e2ed063400
user:      dsl <dsl%NetBSD.org@localhost>
date:      Sat Aug 22 21:43:53 2009 +0000

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

diffstat:

 usr.bin/sort/sort.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r a3076f23cd1b -r 76e2ed063400 usr.bin/sort/sort.c
--- a/usr.bin/sort/sort.c       Sat Aug 22 21:28:55 2009 +0000
+++ b/usr.bin/sort/sort.c       Sat Aug 22 21:43:53 2009 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index