logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0011-zstream-Disable-recompress-and-decompress.patch (1373B)


  1. From 35672849425882c7a8c24a085c4613beb62d1996 Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Fri, 22 Mar 2024 19:18:59 -0700
  4. Subject: [PATCH] zstream: Disable recompress and decompress
  5. These require building a lot more sources, so disable them for now.
  6. ---
  7. cmd/zstream/zstream.c | 8 --------
  8. 1 file changed, 8 deletions(-)
  9. diff --git a/cmd/zstream/zstream.c b/cmd/zstream/zstream.c
  10. index b1509c1f2..a228f45fa 100644
  11. --- a/cmd/zstream/zstream.c
  12. +++ b/cmd/zstream/zstream.c
  13. @@ -40,10 +40,6 @@ zstream_usage(void)
  14. "\tzstream dump [-vCd] FILE\n"
  15. "\t... | zstream dump [-vCd]\n"
  16. "\n"
  17. - "\tzstream decompress [-v] [OBJECT,OFFSET[,TYPE]] ...\n"
  18. - "\n"
  19. - "\tzstream recompress [ -l level] TYPE\n"
  20. - "\n"
  21. "\tzstream token resume_token\n"
  22. "\n"
  23. "\tzstream redup [-v] FILE | ...\n");
  24. @@ -65,10 +61,6 @@ main(int argc, char *argv[])
  25. if (strcmp(subcommand, "dump") == 0) {
  26. return (zstream_do_dump(argc - 1, argv + 1));
  27. - } else if (strcmp(subcommand, "decompress") == 0) {
  28. - return (zstream_do_decompress(argc - 1, argv + 1));
  29. - } else if (strcmp(subcommand, "recompress") == 0) {
  30. - return (zstream_do_recompress(argc - 1, argv + 1));
  31. } else if (strcmp(subcommand, "token") == 0) {
  32. return (zstream_do_token(argc - 1, argv + 1));
  33. } else if (strcmp(subcommand, "redup") == 0) {
  34. --
  35. 2.37.3