pkgutils root as relative path bug
There's a bug in pkgutils that doubles up the root path if the value given is relative. This was my initial fix, http://git.die.net.au/cgit/crux/tools/pkgutils/diff/?h=multiarch&id=ac8fb16e60a96b5c0fa5ca998646aa4e3319532a This prevents the doubling up, but breaks symlinks. I'll have a look at it later this afternoon, but I thought I'd throw it at the list so other people can work on it if they want. I suppose a better solution would be to resolve relative paths into absolute ones. -- Lucas Hazel <lucas@die.net.au>
On Sun, 9 Mar 2008 11:54:46 +1100 Lucas Hazel <lucas@die.net.au> wrote:
There's a bug in pkgutils that doubles up the root path if the value given is relative.
This was my initial fix,
This prevents the doubling up, but breaks symlinks. I'll have a look at it later this afternoon, but I thought I'd throw it at the list so other people can work on it if they want.
I suppose a better solution would be to resolve relative paths into absolute ones.
After fighting with strange g++ compiler errors, not letting me redefine the root attribute. A fix is available http://git.die.net.au/cgit/crux/tools/pkgutils/log/?h=multiarch -- Lucas Hazel <lucas@die.net.au>
Lucas Hazel [2008-03-09 20:40]:
On Sun, 9 Mar 2008 11:54:46 +1100 Lucas Hazel <lucas@die.net.au> wrote:
There's a bug in pkgutils that doubles up the root path if the value given is relative.
This was my initial fix,
This prevents the doubling up, but breaks symlinks. I'll have a look at it later this afternoon, but I thought I'd throw it at the list so other people can work on it if they want.
I suppose a better solution would be to resolve relative paths into absolute ones.
After fighting with strange g++ compiler errors, not letting me redefine the root attribute. A fix is available
http://git.die.net.au/cgit/crux/tools/pkgutils/log/?h=multiarch
Thanks, committed. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
participants (2)
-
Lucas Hazel
-
Tilman Sauerbeck