You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Scott Cantor (JIRA)" <ji...@apache.org> on 2015/01/29 03:45:34 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 ]

Scott Cantor updated SANTUARIO-380:
-----------------------------------
    Affects Version/s: C++ 1.7.1
                       C++ 1.7.2

> 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, C++ 1.7.1, C++ 1.7.2
>         Environment: Debian GNU/Hurd
>            Reporter: Russ Allbery
>            Assignee: Scott Cantor
>            Priority: Minor
>             Fix For: C++ 1.7.3
>
>         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.3.4#6332)