diff options
author | Fritz Elfert <felfert@to.com> | 2001-05-21 20:52:58 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2001-05-21 20:52:58 +0000 |
commit | f9a77f257a4e1d17e92486bf5af5878c959956c2 (patch) | |
tree | dc3c0b850070ae95d798d4126c9c877e8329332d /plpftp | |
parent | 94e5f8eadad105c8706dc28def2fda219f9170f1 (diff) | |
download | plptools-f9a77f257a4e1d17e92486bf5af5878c959956c2.tar.gz plptools-f9a77f257a4e1d17e92486bf5af5878c959956c2.tar.bz2 plptools-f9a77f257a4e1d17e92486bf5af5878c959956c2.zip |
Fixed NLS not working with newer glibc.
Diffstat (limited to 'plpftp')
-rw-r--r-- | plpftp/main.cc | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/plpftp/main.cc b/plpftp/main.cc index a814fb8..711cdbb 100644 --- a/plpftp/main.cc +++ b/plpftp/main.cc @@ -29,15 +29,16 @@ #include <string.h> #include <stdlib.h> #include <stdio.h> -#include <intl.h> -#include "ppsocket.h" -#include "rfsv.h" -#include "rfsvfactory.h" -#include "rpcs.h" -#include "rpcsfactory.h" +#include <plpintl.h> +#include <ppsocket.h> +#include <rfsv.h> +#include <rfsvfactory.h> +#include <rpcs.h> +#include <rpcsfactory.h> +#include <bufferstore.h> + #include "ftp.h" -#include "bufferstore.h" void usage() @@ -71,7 +72,7 @@ main(int argc, char **argv) int status = 0; int sockNum = DPORT; - bind_textdomain_codeset(PACKAGE, "latin1"); + setlocale (LC_ALL, ""); textdomain(PACKAGE); struct servent *se = getservbyname("psion", "tcp"); |