bug-global
[Top][All Lists]
Advanced

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

Re: missing links in hypertext generation


From: Hideki IWAMOTO
Subject: Re: missing links in hypertext generation
Date: Sun, 26 Nov 2006 23:02:16 +0900

On Sun, 26 Nov 2006 22:46:41 +0900, Shigio YAMAGUCHI wrote...
> > rel2abs resolves references to ./ and ../ only when they are at the head of 
> > path.
> > Therefore, rel2abs cannot be used instead of realpath. 
> > 
> > $ pwd
> > /tmp/pathconvert/lib/t
> > $ ./rel2abs .././././z.c /a/b/c/x
> > /a/b/c/z.c
> > $ ./rel2abs x/.././././z.c /a/b/c
> > /a/b/c/x/.././././z.c
> 
> Is it a problem? Why?

==== previous version ====
$ global -f ./libutil/date.c
now                40 libutil/date.c now(void)
$ global -f libutil/./date.c
now                40 libutil/date.c now(void)

==== patched version ==== 
$ global -f ./libutil/date.c
now                40 libutil/date.c now(void)
$ global -f libutil/./date.c
'./libutil/./date.c' not found in GPATH.

This behavior breaks compatibility and is not user-friendly. 

----
Hideki IWAMOTO  address@hidden

Attachment: use-rel2abs.patch
Description: Binary data


reply via email to

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