Some patch from SliTaz

Loïc Grenié loic.grenie at gmail.com
Mon Oct 18 15:57:46 UTC 2010


2010/10/18 Denys Vlasenko <vda.linux at googlemail.com>:
> This looks strange: .gz files compressed with lzma??
>
> -               if ((ENABLE_FEATURE_SEAMLESS_GZ && strcmp(sfx, "gz") == 0)
> +               if (((ENABLE_FEATURE_SEAMLESS_GZ|ENABLE_FEATURE_SEAMLESS_LZMA)
> +                 && strcmp(sfx, "gz") == 0)

    I think no program should look at filenames to determine which
compression is
  applied. Magic number is way more informative.

</rant>

        Loïc


More information about the busybox mailing list