Ticket #3 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

rpm compilation fails on GNU/Hurd due unconditionalized PATH_MAX


Reported by: atkac Assigned to: pmatilai Priority: major Milestone:
Component: rpm Version: RPM Development Keywords: Cc:


Description

GNU/Hurd doesn't have PATH_MAX macro defined. POSIX says when this macro is undefined path can be unlimited but I don't think you have to deal with unlimited paths right now. Attached patch should be sufficient.

Attachments

rpm-path_max.patch (1.4 kB) - added by atkac on 10/31/08 17:32:55.
proposed patch

Change History

10/31/08 17:32:55 changed by atkac

  • attachment rpm-path_max.patch added.

proposed patch

11/03/08 12:18:23 changed by pmatilai

  • status changed from new to closed.
  • resolution set to fixed.

What I've had in mind is to add a mallocing version of realpath() to librpmio to avoid PATH_MAX and related issues completely but this'll do for now. Applied, thanks for the patch.