"Lars J. Aas" wrote:
> 
> On Wed, Jul 05, 2000 at 05:12:19PM +0200, Ralf Corsepius wrote:
> : "Lars J. Aas" wrote:
> : >
> : > +# AC_SHELL_DIRNAME(PATHNAME)
> : > +# --------------------------
> : > +# Remove last slash and trailing text.
> : > +# Not all systems have dirname, so we emulate it with sed.
> : > +# This macro must be usable from inside ` `.
> : > +define([AC_SHELL_DIRNAME],
> : > +[echo $1 | sed 's%/[[^/][^/]]*$%%'])
> :
> : Is this supposed to work with DOS-Paths and DOS-Drive-letters?
> 
> It doesn't handle \ dirseparators, nor will it strip c:text.txt to
> c: (doesn't recognize driveletter: as a separate entity in the path),
> but the patch doesn't introduce this bug - the patch is just a
> reorganization of the existing code that behaved exactly like that.
> At least now there's only one place to insert a fix for this.
> 
Thanks for clarifying (I don't actually care, but now that we are at
it .. :)

I read your reply as "you have just found another bug in autoconf",
which probably has not taken effect, because it was hidden deep
inside of autoconf.

With your patch however, I would expect people to start using
AC_SHELL_DIRNAME instead of dirname and therefore I would expect it
to hit some time.

Ralf.

-- 
Ralf Corsepius 
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung
(FAW)
Helmholtzstr. 16, 89081 Ulm, Germany     Tel: +49/731/501-8690
mailto:[EMAIL PROTECTED]           FAX: +49/731/501-999  
http://www.faw.uni-ulm.de

Reply via email to