summaryrefslogtreecommitdiff
path: root/net/ncftp2/patches/patch-ab
blob: af7712331dd3f09147c22dfb1ebe045751652b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- Complete.c.orig	Fri Oct 18 07:10:31 1996
+++ Complete.c	Fri Feb 20 14:47:06 1998
@@ -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