SHA256
3
0
forked from pool/libzio
libzio/libzio-0.9.dif

12 lines
358 B
Plaintext

--- zio.c
+++ zio.c 2008-09-24 17:50:42.634160726 +0200
@@ -189,7 +189,7 @@ FILE * fzopen(const char * path, const c
what = 'Z';
else if (strcmp(path + len - 4, ".bz2" ) == 0)
what = 'b';
- else if (strcmp(path + len - 4, ".lzma") == 0)
+ else if (strcmp(path + len - 5, ".lzma") == 0)
what = 'l';
if (what == 'n' && *check == 'r') {