Re: Bug#725218: sed: FTBFS, missing PATH_MAX on hurd

Paolo Bonzini <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>
Il 03/10/2013 01:44, Gabriele Giacone ha scritto:
> Package: sed
> Version: 4.2.2-2
> Severity: important
> Tags: patch
> User: [email protected]
> Usertags: hurd
> 
> Hello,
> hurd doesn't define PATH_MAX and upstream decided not to set it themself anymore
> since 4.2.2. See http://sources.debian.net/src/sed/4.2.2-2/lib/pathmax.h

That's a gnulib change.

> Attached patch01 sets PATH_MAX in d/rules.
> Alternatively patch02 defines it in pathmax.h above.
> 
> Thanks for considering.
> 

PATH_MAX is not really needed, it can be replaced by any constant
because sed anyway does reallocation if the buffer needs to be larger
than PATH_MAX.

Jose, perhaps you can change it to 200 and drop the pathmax module from
bootstrap.conf?

Paolo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.