On tisdagen den 24 januari 2012, you stated the following: > This patch solves the build problems for GNU/Hurd due to MAXPATHLEN > issues. The solution is to make dynamic string allocations instead of > using fixed length buffers. The functions mkdirhier, basename and > dirname have all been checked with separate test programs on Linux and > Hurd and with valgrind on Linux without problems. Furthermore, parts of > the the code has been reviewed by GN/Hurd developers and Debian GNU/Hurd > developers and maintainers.
Thanks! I've been thinking of doing something about this myself but there were so many instances of MAXPATHLEN that I got tired before I got started. :-) > Build and run tested on both Linux and Hurd without problems. Also heap > and leak tested on Linux with valgrind. No heap errors, but still memory > leaks (coming from the original code). Removing the memory leaks will > need another deep investigation of the original code, which time does > not permit right now. Leaks other than the ones in th_get_pathname()? > Since there is no upstream, the wish is that the Debian Maintainer > takes a look at this patch and checks if it can be applied. Test > programs are available on request. This patch will affect all > architectures, completely removing the MAXPATHLEN dependencies (except > for a few unused compat functions). I'll have a look and forward it to the libtar mailing list. There actually is sort of an official unofficial upstream at http://repo.or.cz/w/libtar.git since a while back. -- Magnus Holmgren holmg...@debian.org Debian Developer
signature.asc
Description: This is a digitally signed message part.