[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with tmacdir expansion
From: |
Klaus Singvogel |
Subject: |
Problem with tmacdir expansion |
Date: |
Thu, 7 Dec 2000 17:43:11 +0100 |
User-agent: |
Mutt/1.2.5i |
GROFF VERSION: 1.16.1
MACHINE: "typical" PC-Server: 2x Pentium III 800 Mhz, 2 GB RAM, 2x16 GB HD
OS: Linux 2.4.0-test11final2
COMPILER: gcc-2.95.2
INPUT FILES: groff-1.16.1/src/include/defs.h
COMMAND LINE: (it's more a build/compile problem)
make 'tmacpath=.:$(tmacdir):/usr/share/tmac'
touch /usr/share/tmac/tmac.xxx
strace -s 512 -f -F -o /tmp/groff-1.16.1/groff.trc
groff-1.16.1/src/roff/groff/groff -mxxx groff-1.16.1/src/roff/groff/groff.man
grep xxx /tmp/groff-1.16.1/groff.trc
DESCRIPTION OF INCORRECT BEHAVIOUR:
The search path of macros was expanded with the make call (see above),
but the test shows that it expand. If I look into file
groff-1.16.1/src/include/defs.h (attached)
then I see the line
#define MACROPATH ".:/usr/share/groff/tmac:/usr/share/tmac"
Even more, if I call groff with
env GROFF_TMAC_PATH='.:/usr/share/groff/tmac:/usr/share/tmac'
then I see the open(2) of file /usr/share/tmac/tmac.xxx -- Very strange
behaviour.
SUGGESTED FIX [optional]:
I'm working on it and sent ASAP I know more. But maybe you already have one?
Regards,
Klaus.
--
.-. | Klaus Singvogel GPG-Key-ID: 1024R/5068792D 1994-06-27
oo| | Caldera (Deutschland) GmbH, Naegelsbachstr. 49c, 91052 Erlangen
/`'\ | email: address@hidden internet: http://www.caldera.de
(\_;/) | phone: ++49 9131 7192-300 fax: ++49 9131 7192-399
defs.h
Description: Text document
- Problem with tmacdir expansion,
Klaus Singvogel <=