summaryrefslogtreecommitdiffstats
path: root/defines.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-07-08 05:38:39 +0200
committerDamien Miller <djm@mindrot.org>2019-07-08 05:38:39 +0200
commit4efe1adf05ee5d3fce44320fcff68735891f4ee6 (patch)
tree49b902aab121cc5c7c3b8dd166556036fee4c175 /defines.h
parentupstream: Remove some set but never used variables. ok daraadt@ (diff)
downloadopenssh-4efe1adf05ee5d3fce44320fcff68735891f4ee6.tar.xz
openssh-4efe1adf05ee5d3fce44320fcff68735891f4ee6.zip
remove realpath() compat replacement
We shipped a BSD implementation of realpath() because sftp-server depended on its behaviour. OpenBSD is now moving to a more strictly POSIX-compliant realpath(2), so sftp-server now unconditionally requires its own BSD-style realpath implementation. As such, there is no need to carry another independant implementation in openbsd-compat. ok dtucker@
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/defines.h b/defines.h
index 8f4213062..46f88a431 100644
--- a/defines.h
+++ b/defines.h
@@ -108,10 +108,6 @@ enum
# define MAXPATHLEN PATH_MAX
# else /* PATH_MAX */
# define MAXPATHLEN 64
-/* realpath uses a fixed buffer of size MAXPATHLEN, so force use of ours */
-# ifndef BROKEN_REALPATH
-# define BROKEN_REALPATH 1
-# endif /* BROKEN_REALPATH */
# endif /* PATH_MAX */
#endif /* MAXPATHLEN */