summaryrefslogtreecommitdiff
path: root/net/ncftp2/patches/patch-ab
blob: 09ab536204bc69a59ae9b96f3f2d8d0b7a8f75c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ab,v 1.5 2001/05/16 20:27:23 jlam Exp $

--- Complete.c.orig	Fri Oct 18 01:10:31 1996
+++ Complete.c	Thu Jul  8 15:33:42 1999
@@ -241,7 +241,11 @@
 static int
 CompareStrings(char **a, char **b)
 {
+#if defined(__FreeBSD__) || defined(__NetBSD__)
+	return strcoll(*a, *b);
+#else
 	return strcmp(*a, *b);
+#endif
 }
 
 static void