diff options
Diffstat (limited to 'www/sarg/files/patch-decomp.c')
-rw-r--r-- | www/sarg/files/patch-decomp.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/sarg/files/patch-decomp.c b/www/sarg/files/patch-decomp.c new file mode 100644 index 000000000000..75800731f088 --- /dev/null +++ b/www/sarg/files/patch-decomp.c @@ -0,0 +1,11 @@ +--- decomp.c.orig 2020-02-11 12:34:30 UTC ++++ decomp.c +@@ -486,7 +486,7 @@ FileObject *decomp(const char *arq) + ssize_t nread; + + // guess file type +- fd=open(arq,O_RDONLY | O_LARGEFILE); ++ fd=open(arq,O_RDONLY); + if (fd==-1) { + debuga(__FILE__,__LINE__,_("Cannot open file \"%s\": %s\n"),arq,strerror(errno)); + exit(EXIT_FAILURE); |