You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Russ Allbery (JIRA)" <ji...@apache.org> on 2014/04/08 02:42:19 UTC

[jira] [Updated] (SANTUARIO-380) Avoid use of PATH_MAX where possible

     [ https://issues.apache.org/jira/browse/SANTUARIO-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Russ Allbery updated SANTUARIO-380:
-----------------------------------

    Attachment: 0002-Avoid-use-of-PATH_MAX-where-possible.patch

> Avoid use of PATH_MAX where possible
> ------------------------------------
>
>                 Key: SANTUARIO-380
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-380
>             Project: Santuario
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: C++ 1.7.0
>         Environment: Debian GNU/Hurd
>            Reporter: Russ Allbery
>            Assignee: Scott Cantor
>            Priority: Minor
>         Attachments: 0002-Avoid-use-of-PATH_MAX-where-possible.patch
>
>
> GNU/Hurd doesn't have PATH_MAX (and POSIX does not require this define be available).
> The attached patch probes via configure to see if getcwd can allocate a string of appropriate size itself and, if so, uses that capability, which will allow the package to build on Hurd.  If that capability is not available, it falls back to the old behavior.
> Patch from Svante Signell <sv...@gmail.com>.



--
This message was sent by Atlassian JIRA
(v6.2#6252)