CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.5 and aligned with upstream
[crossrootfs.git] / net-tools / net-tools-1.60-manydevs.patch
1 From Rawhide. Allows check of multiple devices.
2
3 diff -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)) {