diff options
author | Damien Miller <djm@mindrot.org> | 2019-07-08 13:38:39 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-07-08 13:38:39 +1000 |
commit | 4efe1adf05ee5d3fce44320fcff68735891f4ee6 (patch) | |
tree | 49b902aab121cc5c7c3b8dd166556036fee4c175 /defines.h | |
parent | 696fb4298e80f2ebcd188986a91b49af3b7ca14c (diff) |
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 | |||
108 | # define MAXPATHLEN PATH_MAX | 108 | # define MAXPATHLEN PATH_MAX |
109 | # else /* PATH_MAX */ | 109 | # else /* PATH_MAX */ |
110 | # define MAXPATHLEN 64 | 110 | # define MAXPATHLEN 64 |
111 | /* realpath uses a fixed buffer of size MAXPATHLEN, so force use of ours */ | ||
112 | # ifndef BROKEN_REALPATH | ||
113 | # define BROKEN_REALPATH 1 | ||
114 | # endif /* BROKEN_REALPATH */ | ||
115 | # endif /* PATH_MAX */ | 111 | # endif /* PATH_MAX */ |
116 | #endif /* MAXPATHLEN */ | 112 | #endif /* MAXPATHLEN */ |
117 | 113 | ||