[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in builtin function abspath

From: Andreas Büning
Subject: Re: Bug in builtin function abspath
Date: Sat, 27 May 2006 19:57:53 +0200

Eli Zaretskii wrote:

> Apart of simpler code (IMHO), this patch also has 2 other advantages:
>  . It handles the d:foo case by converting it to d:./foo

Just a short comment: the abspath description says that it returns
"an absolute name that does not contain any `.' or `..' components".

>  . It returns the result with all backslashes converted to forward
>    slashes, so $abspath can be used on an already absolute file name
>    to convert it to forward slashes, where we previously had to use
>    $patsubst.
> Please test.  The Makefile I used to test it is this:

Seems to be all right. Your patch is better than mine.


Andreas Büning

reply via email to

[Prev in Thread] Current Thread [Next in Thread]