Commit 95bc185e authored by PoroCYon's avatar PoroCYon
Browse files

ubuntu compat

parent ac4b5b0e
......@@ -13,13 +13,16 @@ but even smaller. It doesh't have a 64-bit version, though.**
| mode etc. | vondehi | trident | Fishypack | sh-based unpacker |
|:------------ | -------:| -------:| ---------:| -----------------:|
| gzip, 32-bit | 163 | 172 | 179? (198?) | 48 to 72 |
| xz, 32-bit | 166 | 179 | 186 | 48 to 72 |
| xz, 32-bit | 166 (170*) | 179 | 186 | 48 to 72 |
| gzip, 64-bit | N/A | 208 | 208? | 48 to 72 |
| xz, 64-bit | N/A | 217 | 217 | 48 to 72 |
| Preserves args | Y | N | tries to | can, but often not |
| Min. platform | Linux 3.19 | Linux 2.27 | Linux 2.27 | Most Unices |
| Touches filesystem | N | N | N | Y |
\*: with compatibility for systems where `/bin` isn't symlinked to `/usr/bin`
(or the other way around).
The exact size of a shell-based unpacker depends on the exact impmelentation,
many variations exist. 'xz' means the usage of `xzcat` instead of `zcat`,
the former supports both `xz`- and `lzma`-compressed data.
......
; vim: set ft=nasm noet:
;%define USE_GZIP
%define STDIN_FILENO 0
......@@ -174,6 +176,9 @@ __zip:
%ifdef USE_GZIP
db '/bin/zcat',0
%else
%ifndef NO_UBUNTU_COMPAT
db '/usr'
%endif
db '/bin/xzcat',0
%endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment