[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] Re: Bug#216819: pic2graph included in groff is broken
From: |
Colin Watson |
Subject: |
[Groff] Re: Bug#216819: pic2graph included in groff is broken |
Date: |
Tue, 21 Oct 2003 09:32:55 +0100 |
User-agent: |
Mutt/1.3.28i |
On Mon, Oct 20, 2003 at 08:20:03PM -0700, Alex Withers wrote:
> Package: groff
> Version: 1.18.1-11
> Severity: normal
> Tags: patch
>
> --- pic2graph.old 2003-10-20 23:03:20.000000000 -0400
> +++ pic2graph 2003-10-20 23:03:43.000000000 -0400
> @@ -73,7 +73,7 @@
> # 2. Process through eqn and pic to emit troff markup.
> # 3. Process through groff to emit Postscript.
> # 4. Use convert(1) to crop the PostScript and turn it into a bitmap.
> -tmp=/usr/tmp/pic2graph-$$
> +tmp=/tmp/pic2graph-$$
> trap "rm ${tmp}.*" 0 2 15
> (echo ".EQ"; echo $eqndelim; echo ".EN"; echo ".PS"; cat; echo ".PE") | \
> groff -e -p $groffpic_opts -Tps >${tmp}.ps \
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.
Perhaps this patch should be applied to official groff as well?
Thanks,
--
Colin Watson address@hidden
- [Groff] Re: Bug#216819: pic2graph included in groff is broken,
Colin Watson <=