diff options
author | Damien Miller <djm@mindrot.org> | 2019-07-08 05:38:39 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-07-08 05:38:39 +0200 |
commit | 4efe1adf05ee5d3fce44320fcff68735891f4ee6 (patch) | |
tree | 49b902aab121cc5c7c3b8dd166556036fee4c175 /defines.h | |
parent | upstream: Remove some set but never used variables. ok daraadt@ (diff) | |
download | openssh-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.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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 */ |