Article: 3918 of comp.unix.solaris
Path: dcs.ed.ac.uk!edcastle!uknet!pipex!uunet!dziuxsolim.rutgers.edu!igor.rutgers.edu!geneva.rutgers.edu!hedrick
From: hedrick@geneva.rutgers.edu (Charles Hedrick)
Newsgroups: comp.unix.solaris
Subject: bug fix to fake docviewer (Sol 2.2 Answerbook under X11R5)
Message-ID: <Jun.13.20.56.06.1993.781@geneva.rutgers.edu>
Date: 14 Jun 93 00:56:07 GMT
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 406

A couple of days ago I posted a fake docviewer, to allow the Solaris
2.2 Answerbook to be used under X11R5.  It handles both the Solaris
2.2 file format and the older format, which lets you use a single
Answerbook "card catalog" for both old and new versions.  The next day
after I posted this, it stopped working.  I still don't know why
things changed, but it appears that the caller (presumably the
navigator) is leaving some file descriptors open.  The fix is to close
all file descriptors before exec'ing ghostview.  Here's a new version:


