summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-06-27 09:38:07 +0000
committerache <ache@FreeBSD.org>1997-06-27 09:38:07 +0000
commit13eedc9f63d4ebd42be815c6bfa90ff869ea19c5 (patch)
tree3d6d1b0edbb65f34f5aad8378a7d1c57631cea70 /usr.bin
parentfae8900137945449327d19f5b8d519086f5a6033 (diff)
downloadFreeBSD-src-13eedc9f63d4ebd42be815c6bfa90ff869ea19c5.zip
FreeBSD-src-13eedc9f63d4ebd42be815c6bfa90ff869ea19c5.tar.gz
Activate collate to sort local files properly for completion
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ftp/complete.c6
-rw-r--r--usr.bin/ftp/main.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/ftp/complete.c b/usr.bin/ftp/complete.c
index cb4e5fb..689c1f8 100644
--- a/usr.bin/ftp/complete.c
+++ b/usr.bin/ftp/complete.c
@@ -1,4 +1,4 @@
-/* $Id: complete.c,v 1.1 1997/06/25 08:56:36 msmith Exp $ */
+/* $Id: complete.c,v 1.2 1997/06/27 09:30:04 ache Exp $ */
/* $NetBSD: complete.c,v 1.8 1997/05/24 16:34:30 lukem Exp $ */
/*-
@@ -39,7 +39,7 @@
#ifndef SMALL
#ifndef lint
-static char rcsid[] = "$Id: complete.c,v 1.1 1997/06/25 08:56:36 msmith Exp $";
+static char rcsid[] = "$Id: complete.c,v 1.2 1997/06/27 09:30:04 ache Exp $";
#endif /* not lint */
/*
@@ -60,7 +60,7 @@ static int
comparstr(a, b)
const void *a, *b;
{
- return (strcmp(*(char **)a, *(char **)b));
+ return (strcoll(*(char **)a, *(char **)b));
}
/*
diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c
index a7f2e56..f94b951 100644
--- a/usr.bin/ftp/main.c
+++ b/usr.bin/ftp/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.13 1997/06/25 08:56:42 msmith Exp $ */
+/* $Id: main.c,v 1.14 1997/06/27 09:30:13 ache Exp $ */
/* $NetBSD: main.c,v 1.22 1997/06/10 07:04:43 lukem Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 10/9/94";
#else
-static char rcsid[] = "$Id: main.c,v 1.13 1997/06/25 08:56:42 msmith Exp $";
+static char rcsid[] = "$Id: main.c,v 1.14 1997/06/27 09:30:13 ache Exp $";
#endif
#endif /* not lint */
@@ -76,7 +76,7 @@ main(argc, argv)
char *cp, homedir[MAXPATHLEN];
int dumbterm;
- (void) setlocale(LC_CTYPE, "");
+ (void) setlocale(LC_ALL, "");
sp = getservbyname("ftp", "tcp");
if (sp == 0)
OpenPOWER on IntegriCloud