[tex-k] Possible mini-bug in kpathsea/absolute.c?

Julian Gilbey jdg at polya.uklinux.net
Mon Mar 27 20:18:09 CEST 2006


Lines 46-53 of absolute.c contain a conditional test for AMIGA which
says:

#ifdef AMIGA
      /* Leading / is like `../' on Unix and DOS.  Allow Unix syntax,
         too, though, because of possible patch programs like
         `UnixDirsII' by Martin Scott.  */
      && IS_DIR_SEP (*filename) || 0
#endif /* AMIGA */
      && (*filename == '.' && (IS_DIR_SEP (filename[1])
                         || (filename[1] == '.' && IS_DIR_SEP (filename[2]))));

Shouldn't the line before the #endif read:
      && IS_DIR_SEP (*filename) || 1
so that the rest of the test can succeed, which is what the description
says it should?

   Julian


More information about the tex-k mailing list