groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] Re: Bug#216819: pic2graph included in groff is broke


From: Werner LEMBERG
Subject: [Groff] Re: Bug#216819: pic2graph included in groff is broke
Date: Tue, 28 Oct 2003 07:41:38 +0100 (CET)

> > I've applied this to the Debian package, but I feel that /tmp is
> > more commonly available on Unix systems than /usr/tmp; the FHS
> > renamed the latter to /var/tmp, although it documents /var/tmp as
> > for temporary files that need to be preserved across reboots.
>
> The FHS constructed /usr such that it can be mounted read-only. So
> /usr/tmp should not exist.
>
> The preserving action of /var/tmp makes it a special place that
> should be used with care.
>
> /tmp or some subdirectory of the user's home directory are the main
> solutions for temporary files.  Though some systems have /tmp only
> with restricted writing access.
>
> Fortunately groff defines the environment variable $GROFF_TMPDIR for
> all cases.

I've fixed this for the {eqn,grap,pic}2graph programs, using
autoconf's approach; it tests the environment variables GROFF_TMPDIR,
TMPDIR, TMP, and TEMP, before falling back to `/tmp'.  Please test.


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]