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 [EMAIL PROTECTED]
use-rel2abs.patch
Description: Binary data
_______________________________________________ Bug-global mailing list Bug-global@gnu.org http://lists.gnu.org/mailman/listinfo/bug-global