[Top][All Lists]
[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 22:26:57 +0900 |
On Sat, 25 Nov 2006 18:13:00 +0900, Shigio YAMAGUCHI wrote...
> > > o How will you change the output of 'global -f'?
> >
> > I will add a function such as realpath() which does not follow symlink to
> > path.c,
> > and will use it instead of realpath().
>
> I exactly have it. Function rel2abs() does the opposite of abs2rel() in
> libutil/abs2rel.c.
> I will add rel2abs to libutil/abs2rel.c. Could you please see it?
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
----
Hideki IWAMOTO address@hidden
- Re: missing links in hypertext generation, Hideki IWAMOTO, 2006/11/22
- Re: missing links in hypertext generation, Shigio YAMAGUCHI, 2006/11/22
- Re: missing links in hypertext generation, Hideki IWAMOTO, 2006/11/22
- Re: missing links in hypertext generation, Shigio YAMAGUCHI, 2006/11/23
- Re: missing links in hypertext generation, Hideki IWAMOTO, 2006/11/25
- Re: missing links in hypertext generation, Shigio YAMAGUCHI, 2006/11/25
- Re: missing links in hypertext generation,
Hideki IWAMOTO <=
- Re: missing links in hypertext generation, Shigio YAMAGUCHI, 2006/11/26
- Re: missing links in hypertext generation, Hideki IWAMOTO, 2006/11/26
- Re: missing links in hypertext generation, Shigio YAMAGUCHI, 2006/11/26
- Re: missing links in hypertext generation, Shigio YAMAGUCHI, 2006/11/26
- Re: missing links in hypertext generation, Hideki IWAMOTO, 2006/11/27
- Re: missing links in hypertext generation, Shigio YAMAGUCHI, 2006/11/27