diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1997-06-27 09:38:07 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1997-06-27 09:38:07 +0000 |
| commit | f74df00911fc534adbb486d7bb3ddf4fdbb677fe (patch) | |
| tree | 89180ff0a93c9864640de9605afcb590c5132e51 | |
| parent | 943259e2fc47bb28d8c54ff3ffa7854f88b03c68 (diff) | |
Notes
| -rw-r--r-- | usr.bin/ftp/complete.c | 6 | ||||
| -rw-r--r-- | usr.bin/ftp/main.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/ftp/complete.c b/usr.bin/ftp/complete.c index cb4e5fb3dcca..689c1f84f010 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 a7f2e5697ead..f94b9519e15d 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) |
