Bug#881783: libesedb: FTBFS on hurd-i386: PATH_MAX undeclared
Hilko Bengen
bengen at debian.org
Wed Nov 29 14:59:33 UTC 2017
* Aaron M. Ucko:
> Builds of libesedb for hurd-i386 (admittedly not a release
> architecture) have been failing:
>
> libcpath_path.c:487:45: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'INT8_MAX'?
>
> The Hurd famously has no static PATH_MAX. Best practice is to
> allocate path buffers dynamically based on what you actually
> encounter, but if that's not convenient, you can look up _PC_PATH_MAX
> via pathconf or define a fallback constant (traditionally 4096).
I will accept patches. :-)
Cheers,
-Hilko
More information about the forensics-devel
mailing list