Hello,

I recently received this error from info on a computer without the gunzip binary installed:
  $ info tar
  sh: gunzip: command not found
  info: Unable to find node referenced by `Tar' in `(dir)Top'.

As gunzip is a link to gzip, the only difference between using "gunzip" and "gzip -d" is that the former adds a gratuitous dependency on the gunzip name.

Could you, please, apply the attached patch whose only effect is partially removing the dependency of texinfo on the "gunzip" name?


Regards,
Antonio.
diff -urdN texinfo-4.13.orig/info/filesys.c texinfo-4.13/info/filesys.c
--- texinfo-4.13.orig/info/filesys.c    2008-06-12 14:39:20.000000000 +0200
+++ texinfo-4.13/info/filesys.c 2009-10-22 16:37:00.000000000 +0200
@@ -53,7 +53,11 @@
 };
 
 static COMPRESSION_ALIST compress_suffixes[] = {
+#if STRIP_DOT_EXE
   { ".gz", "gunzip" },
+#else
+  { ".gz", "gzip -d" },
+#endif
   { ".bz2", "bunzip2" },
   { ".lzma", "unlzma" },
   { ".z", "gunzip" },

Reply via email to