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

Re: getting dpkg-shlibdeps to work on the Hurd



> Well, from a programming point of view, comparing the stat fields is much
> nicer than all the string handling, and the realpath() interface is
> horribly broken[1].  We need to use he canonicalize_file_name() interface on
> the Hurd (because we don't have a PATH_MAX limit, so any use of realpath is
> a potential buffer overflow), so that's two cases at least anyway.
> 
> [1] We are working on fixing this.  Jeroen filed an objection with the
> Austin group, and a transition path to a saner realpath interface is
> outlined.

You might (or might not...) be interested in my alternative to
the dreadful interface provided by realpath and its friends at:

http://www.greenend.org.uk/rjk/2002/01/pathfns.html

ttfn/rjk


-- 
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: