Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37865482
en ru br
ALT Linux repos
S:0.18-alt0.pre1.3
5.0: 0.18-alt0.pre1.1
4.1: 0.18-alt0.pre1.0.M41.1
4.0: 0.17-ipl5mdk.1
3.0: 0.17-ipl5mdk

Group :: Networking/File transfer
RPM: ftp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: netkit-ftp-0.17-fedora-locale.patch
Download


--- netkit-ftp-0.17/ftp/main.c.locale	2004-12-15 16:52:14.504193752 +0000
+++ netkit-ftp-0.17/ftp/main.c	2004-12-15 16:52:51.719133655 +0000
@@ -51,6 +51,7 @@
 
 /* #include <arpa/ftp.h>	<--- unused? */
 
+#include <locale.h>
 #include <signal.h>
 #include <unistd.h>
 #include <string.h>
@@ -109,6 +110,7 @@
 
 	tick = 0;
 
+	setlocale (LC_ALL, "");
 	sp = getservbyname("ftp", "tcp");
 	if (sp == 0) {
 		fprintf(stderr, "ftp: ftp/tcp: unknown service\n");
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin