Bug#754816: libewf: FTBFS on hurd-386
svante.signell at gmail.com
Mon Aug 25 11:24:24 UTC 2014
found 754816 20140608-1
On Mon, 2014-07-14 at 17:58 +0200, Svante Signell wrote:
> Source: libewf
> Version: 20130416-3
> Severity: important
> Tags: patch
> User: debian-hurd at lists.debian.org
> Usertags: hurd
> libewf fails to build from source due to usage of PATH_MAX, which is not
> defined on GNU/Hurd. The attached patch fixes usage of PATH_MAX as
> second argument to getcwd() by using calls to getcwd (NULL, 0) instead.
> Supporting (NULL, 0) as arguments is an extension to POSIX.1-2001 for
> libc4, libc5 and glibc, so most modern systems have it. In order to
> simplify the patch, only this version is implemented.
> In case there is a need for a dual code path this can be fixed too, at
> the cost of additional #ifdef's in the code and a configure.ac check for
> the getcwd (NULL, 0) functionality.
> libewf is flagged as out-of-date since a long time by now for Hurd and
> with the PATH_MAX fix of libbfio in bug #754792 and this patch it will
> be up-to-date again.
Attached is an updated patch for libewf. In fact it is the same as for
libbfio in #754792 with different namings.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2293 bytes
Desc: not available
More information about the forensics-devel