3 #include <apt-pkg/fileutl.h>
4 #include <apt-pkg/acquire-method.h>
8 #include "rfc2553emu.h"
14 setlocale(LC_ALL
, "");
16 // ignore SIGPIPE, this can happen on write() if the socket
17 // closes the connection (this is dealt with via ServerDie())
18 signal(SIGPIPE
, SIG_IGN
);