Opened 14 years ago

Closed 14 years ago

#2206 closed Bugs (fixed)

Unconditional use of PATH_MAX in tools/jam/src

Reported by: Steven Robbins <smr@…> Owned by: René Rivera
Milestone: Boost.Jam 3.1.17 Component: bjam
Version: Boost.Jam 3.1.16 Severity: Problem
Keywords: Cc:

Description

Boost fails to build on systems that do not define PATH_MAX, e.g. Hurd, as it is used unconditionally in pwd.c.

A Debian user report: http://bugs.debian.org/487343 and submitted a patch suitable for a system with GNU libc.

The patch applied to Debian builds of Boost is attached.

Attachments (1)

avoid-PATH_MAX.patch (1.1 KB ) - added by Steven Robbins <smr@…> 14 years ago.

Download all attachments as: .zip

Change History (3)

by Steven Robbins <smr@…>, 14 years ago

Attachment: avoid-PATH_MAX.patch added

comment:1 by René Rivera, 14 years ago

Component: Nonebjam
Milestone: Boost 1.36.0Boost.Jam 3.1.17
Owner: set to René Rivera
Status: newassigned
Version: Boost 1.36.0Boost.Jam 3.1.16

comment:2 by René Rivera, 14 years ago

Resolution: fixed
Status: assignedclosed

(In [48993]) Dynamically adjust pwd buffer query size to allow for when PATH_MAX is default defined instead of being provided by the system C library. (fixes #2206)

Note: See TracTickets for help on using tickets.