From f9a77f257a4e1d17e92486bf5af5878c959956c2 Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Mon, 21 May 2001 20:52:58 +0000 Subject: Fixed NLS not working with newer glibc. --- plpftp/main.cc | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'plpftp') 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 #include #include -#include -#include "ppsocket.h" -#include "rfsv.h" -#include "rfsvfactory.h" -#include "rpcs.h" -#include "rpcsfactory.h" +#include +#include +#include +#include +#include +#include +#include + #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"); -- cgit v1.2.3