please merge busybox 1.1.3-2ubuntu1
Bug #52706 reported by
Anibal Monsalve Salazar
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
busybox (Ubuntu) |
Fix Released
|
Undecided
|
Colin Watson |
Bug Description
Binary package hint: busybox
Hello,
Please merge busybox 1.1.3-2ubuntu1 available at:
http://
Thank you.
Anibal
To post a comment you must log in.
debdiff busybox_ 1.1.3-1ubuntu1. dsc busybox_ 1.1.3-2ubuntu1. dsc /busybox- 1.1.3/coreutils /sort.c /tmp/Y6CCffF8sr /busybox- 1.1.3/coreutils /sort.c /busybox- 1.1.3/coreutils /sort.c 2006-04-17 02:27:46.000000000 +1000 /busybox- 1.1.3/coreutils /sort.c 2006-07-12 09:40:06.000000000 +1000
for( i=1;i<key- >range[ 2*j]+j; i++) {
/* Skip leading blanks or first separator */
if( str[end] ) { end]==key_ separator) end++; str[end] ))
while( isspace( str[end] )) end++;
}
/* Skip body of key */ /busybox- 1.1.3/debian/ changelog /tmp/Y6CCffF8sr /busybox- 1.1.3/debian/ changelog /busybox- 1.1.3/debian/ changelog 2006-07-12 09:40:05.000000000 +1000 /busybox- 1.1.3/debian/ changelog 2006-07-12 09:40:06.000000000 +1000
diff -Nru /tmp/BEnDxZKfQQ
--- /tmp/BEnDxZKfQQ
+++ /tmp/Y6CCffF8sr
@@ -74,9 +74,7 @@
- if(key_separator) {
- if(str[
- } else if(isspace(
+ if(!key_separator && isspace(str[end]))
diff -Nru /tmp/BEnDxZKfQQ
--- /tmp/BEnDxZKfQQ
+++ /tmp/Y6CCffF8sr
@@ -1,3 +1,16 @@
+busybox (1:1.1.3-2ubuntu1) edgy; urgency=low
+
+ * Resynchronise with Debian.
+
+ -- Anibal Monsalve Salazar <email address hidden> Tue, 11 Jul 2006 19:21:45 +1000
+
+busybox (1:1.1.3-2) unstable; urgency=low
+
+ * coreutils/sort.c:
+ - Fix sorting of input which begins with the seperator. (closes: #373704)
+
+ -- Bastian Blank <email address hidden> Thu, 29 Jun 2006 19:36:19 +0000
+
busybox (1:1.1.3-1ubuntu1) edgy; urgency=low
* Resynchronise with Debian. /busybox- 1.1.3/testsuite /sort.tests /tmp/Y6CCffF8sr /busybox- 1.1.3/testsuite /sort.tests /busybox- 1.1.3/testsuite /sort.tests 2006-04-17 02:27:46.000000000 +1000 /busybox- 1.1.3/testsuite /sort.tests 2006-07-12 09:40:06.000000000 +1000
diff -Nru /tmp/BEnDxZKfQQ
--- /tmp/BEnDxZKfQQ
+++ /tmp/Y6CCffF8sr
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# SUSv3 compliant sort tests.
# Copyright 2005 by Rob Landley <email address hidden>
@@ -66,4 +66,18 @@
egg 1 2 papyrus
" "$data" ""
+testing "sort key doesn't strip leading blanks, disables fallback global sort" \ lib/finish- install. d/1 finish- install. d/4 prebaseconfig. d/2 prebaseconfig. d/6 finish- install. d/1 prebaseconfig. d/2 finish- install. d/4 prebaseconfig. d/6
+"sort -n -k2 -t ' '" " a \n 1 \n 2 \n" "" " 2 \n 1 \n a \n"
+
+testing "sort key edge case with -t" "sort -n -k4 -t/" \
+"/usr/
+/usr/lib/
+/usr/lib/
+/usr/lib/
+" "" "/usr/lib/
+/usr/lib/
+/usr/lib/
+/usr/lib/
+"
+
exit $FAILCOUNT