Bug#595538: wget: [PATCH] don't use PATH_MAX (FTBFS on hurd)

2011-07-23 Thread Noël Köthe
tags 595538 + upstream forwarded 595538 https://savannah.gnu.org/bugs/index.php?33822 thanks Hello Carlos, Am Sonntag, den 05.09.2010, 00:02 +0100 schrieb Carlos Martín Nieto: > The constant PATH_MAX is not defined when building in Hurd. This patch > changes src/init.c:home_dir() to allocate me

Bug#595538: wget: [PATCH] don't use PATH_MAX (FTBFS on hurd)

2010-09-04 Thread Carlos Martín Nieto
Package: wget Version: 1.12-2 The constant PATH_MAX is not defined when building in Hurd. This patch changes src/init.c:home_dir() to allocate memory dynamically. In the first part, we figure out how long the path is and only allocate that much (+1 for the null terminator). In the second part