[openssh-commits] [openssh] 01/01: fix compilation on systems without SYMLOOP_MAX

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Oct 16 09:48:46 AEDT 2015


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit eb6c50d82aa1f0d3fc95f5630ea69761e918bfcd
Author: Damien Miller <djm at mindrot.org>
Date:   Thu Oct 15 15:48:28 2015 -0700

    fix compilation on systems without SYMLOOP_MAX
---
 openbsd-compat/realpath.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/openbsd-compat/realpath.c b/openbsd-compat/realpath.c
index a0199ab..a2f090e 100644
--- a/openbsd-compat/realpath.c
+++ b/openbsd-compat/realpath.c
@@ -44,6 +44,10 @@
 #include <unistd.h>
 #include <limits.h>
 
+#ifndef SYMLOOP_MAX
+# define SYMLOOP_MAX 32
+#endif
+
 /* A slightly modified copy of this file exists in libexec/ld.so */
 
 /*

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list