Bug 224628

Summary: [exp-run] Remove LINK_MAX.
Product: Ports & Packages Reporter: John Baldwin <jhb>
Component: Ports FrameworkAssignee: John Baldwin <jhb>
Status: Closed FIXED    
Severity: Affects Only Me CC: ports-bugs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description John Baldwin freebsd_committer freebsd_triage 2017-12-28 00:40:22 UTC
The base system no longer uses LINK_MAX and in theory POSIX permits this to not be defined requiring applications to use pathconf() to query it at runtime instead.  Note that the patch must be applied to a recent head (r327009 or later).

Patch is at https://reviews.freebsd.org/D13658
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2018-01-02 06:37:23 UTC
Exp-run looks fine.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-01-05 22:26:34 UTC
A commit references this bug:

Author: jhb
Date: Fri Jan  5 22:26:23 UTC 2018
New revision: 327598
URL: https://svnweb.freebsd.org/changeset/base/327598

Log:
  Remove LINK_MAX.

  After recent changes to change filesystems to use filesystem-specific
  limits, LINK_MAX is no longer used in the base system.  Applications
  should in theory be able to cope with a lack of LINK_MAX by using
  pathconf().

  PR:		224628 (exp-run)
  Approved by:	imp, kib
  Sponsored by:	Chelsio Communications
  Differential Revision:	https://reviews.freebsd.org/D13658

Changes:
  head/sys/sys/syslimits.h