On Wed, 16 Aug 2006, J=F6rg Sonnenberger wrote:
> Modified Files:
> =09pkg_install/lib: pkg.c pkg_tarup.c plist.c plist_utils.c
> Log Message:
> Ensure that path names are in the canonical form (no . or .. components,
> no trailing /). Fix a case where prefix =3D=3D '/' was not handled
It seems the same code section is present twice here.
Why not use realpath(3)?