1
0
mirror of https://github.com/pdewacht/brlaser synced 2025-04-05 20:36:44 +02:00

setlocale shouldn't be needed

This commit is contained in:
Peter De Wachter 2018-01-26 23:40:22 +01:00
parent 8007996fe7
commit 4209526ef0

View File

@ -17,7 +17,6 @@
#include <stdio.h>
#include <signal.h>
#include <locale.h>
#include <unistd.h>
#include <fcntl.h>
#include <cups/raster.h>
@ -143,8 +142,6 @@ int main(int argc, char *argv[]) {
const char *job_filename = argv[6];
// const char *job_charset = getenv("CHARSET");
setlocale(LC_ALL, "");
signal(SIGTERM, sigterm_handler);
signal(SIGPIPE, SIG_IGN);