forked from pool/libzio
12 lines
358 B
Plaintext
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') {
|