diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 02:00:14 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 02:00:14 +0000 |
commit | 361fec5b672ef8fdb44f61fb12b2cbb2f950b347 (patch) | |
tree | 9de49e1f2fc574f4e68e0c5eb903cb537c8c2695 /netkit-ftp-locale.patch | |
parent | 75ec6de8f8f0b5d1c1905cb24264099d45eea096 (diff) |
automatic import of ftpopeneuler24.03_LTS
Diffstat (limited to 'netkit-ftp-locale.patch')
-rw-r--r-- | netkit-ftp-locale.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/netkit-ftp-locale.patch b/netkit-ftp-locale.patch new file mode 100644 index 0000000..ed6e28a --- /dev/null +++ b/netkit-ftp-locale.patch @@ -0,0 +1,18 @@ +--- 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"); |