summaryrefslogtreecommitdiff
path: root/packages/net-tools/files/net-tools-1.60-manydevs.patch
blob: d07ffbacb3d6f29be275c3085c8b0f36c0f47127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- lib/nstrcmp.c.bak	Fri Apr 12 00:15:01 2002
+++ lib/nstrcmp.c	Fri Apr 12 00:15:29 2002
@@ -16,8 +16,8 @@
 	b++;
     }
     if (isdigit(*a)) {
-	if (!isdigit(*b))
-	    return -1;
+        if (!isdigit(*b))
+	    return 1;
 	while (a > astr) {
 	    a--;
 	    if (!isdigit(*a)) {