Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2002 10:02:21 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Mike Heffner <mikeh@FreeBSD.org>, lukem@netbsd.org
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/ftp Makefile cmds.c cmdtab.c complete.c domacro.c extern.h fetch.c ftp.1 ftp.c ftp_var.h main.c pathnames.h ruserpass.c util.c
Message-ID:  <20020528070221.GB53736@sunbay.com>
In-Reply-To: <200112132346.fBDNkjb93484@freefall.freebsd.org>
References:  <200112132346.fBDNkjb93484@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--NDin8bjvE/0mNLFQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 13, 2001 at 03:46:45PM -0800, Mike Heffner wrote:
> mikeh       2001/12/13 15:46:45 PST
>=20
>   Modified files:
>     usr.bin/ftp          Makefile=20
>   Removed files:
>     usr.bin/ftp          cmds.c cmdtab.c complete.c domacro.c=20
>                          extern.h fetch.c ftp.1 ftp.c ftp_var.h=20
>                          main.c pathnames.h ruserpass.c util.c=20
>   Log:
>   Connect lukemftp to the build as the default ftp client. Lukemftp
>   supports most of the previous features of FreeBSD ftp, but has been
>   better maintained and includes new features.
>  =20
lukemftp(1) does not honor locale.

%%%
Index: lukemftp.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/contrib/lukemftp/lukemftp.h,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 lukemftp.h
--- lukemftp.h	19 Jul 2001 16:26:12 -0000	1.1.1.1
+++ lukemftp.h	28 May 2002 06:47:02 -0000
@@ -23,6 +23,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <limits.h>
+#include <locale.h>
 #include <netdb.h>
 #include <pwd.h>
 #include <setjmp.h>
Index: src/main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/contrib/lukemftp/src/main.c,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 main.c
--- src/main.c	26 Apr 2002 16:51:03 -0000	1.1.1.2
+++ src/main.c	28 May 2002 06:47:02 -0000
@@ -131,6 +131,8 @@ main(int argc, char *argv[])
 	else
 		__progname++;
=20
+	(void) setlocale(LC_ALL, "");
+
 	ftpport =3D "ftp";
 	httpport =3D "http";
 	gateport =3D NULL;
%%%

--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--NDin8bjvE/0mNLFQ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE88yt9Ukv4P6juNwoRAgWdAJ9S+nvDw2m63JGWldhh2bg8qqptsACfb0lZ
k+zs5B6F5fSRSrcpuuYSzaQ=
=1+To
-----END PGP SIGNATURE-----

--NDin8bjvE/0mNLFQ--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020528070221.GB53736>