groff - horrible hack to fix .gz issues
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 21 May 2014 01:42:20 +0000 (18:42 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 21 May 2014 01:42:20 +0000 (18:42 -0700)
commit84d7c06c0778ee36e1bdd7646771819752341ab8
tree15abe4b1ec51695e69aecbb51413892b72f38f9e
parent89d620aac52999cde771898aac629ef7cab16e2a
groff - horrible hack to fix .gz issues

* If a gzipped manual page contains a .so forwarding entry, groff
  will attempt to open the forwarding entry directly and will not
  check to see if a file with a .gz extension is present, resulting
  in an open error.

* Hack hack hack.  Horrible hack of the input search path to check
  for a .gz extension and popen() the file with zcat.  Horrible because
  I haven't bothered to modify all the other myrid code to properly call
  pclose() instead of fclose() in that case.
contrib/groff/src/libs/libgroff/searchpath.cpp