git: groff - horrible hack to fix .gz issues

Matthew Dillon dillon at crater.dragonflybsd.org
Tue May 20 18:44:14 PDT 2014


commit 84d7c06c0778ee36e1bdd7646771819752341ab8
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue May 20 18:42:20 2014 -0700

    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.

Summary of changes:
 contrib/groff/src/libs/libgroff/searchpath.cpp | 129 +++++++++++++++++--------
 1 file changed, 89 insertions(+), 40 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/84d7c06c0778ee36e1bdd7646771819752341ab8


-- 
DragonFly BSD source repository


More information about the Commits mailing list