Uploaded image for project: 'Santuario'
  1. Santuario
  2. SANTUARIO-380

Avoid use of PATH_MAX where possible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • C++ 1.7.0, C++ 1.7.1, C++ 1.7.2
    • C++ 1.7.3
    • C++
    • None
    • Debian GNU/Hurd

    Description

      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 <svante.signell@gmail.com>.

      Attachments

        Activity

          People

            scantor Scott Cantor
            eagle Russ Allbery
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: