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

Re: dateutils: FTBFS on hurd-i386 (for review)



On Sat, 2014-05-10 at 18:18 +0200, Svante Signell wrote:
> Source: dateutils
> Version: 2.7-1
> Severity: important
> Tags: patch
> User: debian-hurd@lists.debian.org
> Usertags: hurd
> 
> Hi,
> 
> Currently dateutils fails to build from source due to PATH_MAX being
> used, and that constant is not defined on GNU/Hurd. The attached patch
> avoid using PATH_MAX by redefining the function mkfifofn() to allocate
> the string buf there and free the allocated buffers expfn and actfn in
> the calling function differ() when not needed any longer. All 610 tests
> run in the testsuite pass and they are a requisite for the package to
> build.
> 
> Thanks!

Of course the maximum field length of format %x for an unsigned integer
is 8 so: size_t len = strlen(key) + 9 + 8 + 1;


Reply to: