Have a problem under Irix... basename is not present on the
system Need to use xbasename..
my manpage (IRIX-6.5.24) says, you have to include libgen.h
to use basename(3):
basename(3G)basename(3G)
NAME
basename - return the last element of a pathname
SYNOPSIS
my manpage (IRIX-6.5.24) says, you have to include libgen.h
You are correct... But you also need to link with -lgen...
Therefore, to use it - you would need a test in texk/web2c/configure -
and then link in pdftexdir with it as well as ttf2afm in texk/web2c
directory
So - either use
Either would work for me... But note that ttf2afm.c is already using xstrdup
right over there as well instead of testing for it in the system libraries -
That is right. We can't make a fix just for Irix. Using xstrdup is the
rigth way of fixing it.
Thomas
On Thu, 3 Feb 2005 22:17:46 +0100, Thomas Esser [EMAIL PROTECTED]
wrote:
Minor issue: cfg files like graphics.cfg start out with
% Select an appropriate default driver
\begingroup
\chardef\x=0 %
...
which relies on spaces being normal. While trying to get some l3
packages to work nicely
I haven't tested .11, with .12 I found that ttf2afm.c blondely includes
libgen.h without check.
Thanks. pdftex-1.21a uses xbasename instead of basename, but still
includes libgen.h. So, I just have removed that #include libgen.h.
Thomas
Hi Robin,
pulled and pushed, as always :-}
Great, thanks.
Thomas
Have a problem under Irix... basename is not present on the
system Need to use xbasename..
(And one needs to remove texk/web2c/ttf2afm.c before recompiling as it
is copied)
I'll let you know if there any other problems by tomorrow morning...
*** texk/web2c/pdftexdir/ttf2afm.c