CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[crossrootfs.git] / net-tools / net-tools-1.60-manydevs.patch
CommitLineData
6dca1d21
JB
1From Rawhide. Allows check of multiple devices.
2
3diff -Naur net-tools-1.60.orig/lib/nstrcmp.c net-tools-1.60/lib/nstrcmp.c
4--- net-tools-1.60.orig/lib/nstrcmp.c 1999-01-09 15:55:20.000000000 +0000
5+++ net-tools-1.60/lib/nstrcmp.c 2003-09-12 22:46:13.000000000 +0000
6@@ -16,8 +16,8 @@
7 b++;
8 }
9 if (isdigit(*a)) {
10- if (!isdigit(*b))
11- return -1;
12+ if (!isdigit(*b))
13+ return 1;
14 while (a > astr) {
15 a--;
16 if (!isdigit(*a)) {