Re: 2.99.12 (Irix failure)

ezra peisach <[email protected]> Thu, 3 Feb 2005 22:34:51 -0500 (EST)
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
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	2005/02/04 03:24:02	1.1
--- texk/web2c/pdftexdir/ttf2afm.c	2005/02/04 03:24:31
***************
*** 975,981 ****
      cur_file_name = argv[optind];
      if (print_cmap) {
          buf = xstrdup(cur_file_name);
!         bname = basename(buf);
          if ((s = rindex(bname, '.')) != NULL)
              *s = 0;
      }
--- 975,981 ----
      cur_file_name = argv[optind];
      if (print_cmap) {
          buf = xstrdup(cur_file_name);
!         bname = xbasename(buf);
          if ((s = rindex(bname, '.')) != NULL)
              *s = 0;
      }