commit | f520fac1e0779eb7fe5e42f1bfce9247872d7497 | [log] [download] |
---|---|---|
author | Petter Reinholdtsen <pere@hungry.com> | Tue Jan 28 10:13:10 2014 +0000 |
committer | Petter Reinholdtsen <pere@hungry.com> | Tue Jan 28 10:13:10 2014 +0000 |
tree | 7debc7f02627b1979f0cde54f1a84c504f3d8274 | |
parent | f2168fbc492fc2ac33aa0d9e576f390c38854a19 [diff] |
Use sysconf(_SC_SYMLOOP_MAX) instead of MAXSYMLINKS. If sysconf returns an error, fall back to MAXSYMLINKS on platforms that define it. Fixes build on Hurd. Patch from Justus Winter and Debian. git-svn-id: svn://svn.savannah.nongnu.org/sysvinit/sysvinit/trunk@138 456724a4-4300-0410-8514-c89748c515a2