diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2022-05-26 09:33:43 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2022-05-26 09:33:43 +0100 |
commit | e4557ef852d512eddbd70f9c59e4bfb9fc4527a9 (patch) | |
tree | 06880967793fadcb9e8a1f25f235657a30ae10df | |
parent | 92da264eea88582d51c9932b6233863298f79016 (diff) | |
download | zsh-e4557ef852d512eddbd70f9c59e4bfb9fc4527a9.tar.gz zsh-e4557ef852d512eddbd70f9c59e4bfb9fc4527a9.tar.xz zsh-e4557ef852d512eddbd70f9c59e4bfb9fc4527a9.zip |
50287: Use getcwd by default.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | configure.ac | 8 |
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 6b65e7996..b637cdfdd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2022-05-26 Peter Stephenson <p.stephenson@samsung.com> + * 50287: configure.ac: Turn on use of getcwd by default. Leave + the ability to turn it off per OS configuration. + * 50286: Functions/Misc/zed: avoid error if nounset is in effect. 2022-05-25 Norbert Lange <nolange79@gmail.com> diff --git a/configure.ac b/configure.ac index c72148d06..77e381f50 100644 --- a/configure.ac +++ b/configure.ac @@ -2021,11 +2021,15 @@ if test x$zsh_cv_sys_superroot = xyes; then fi dnl CHECK FOR SYSTEMS REQUIRING GETCWD +dnl This is now turned on by default, as we expect modern getcwd +dnl implementations to work correctly. Any exceptions should be added +dnl to the first case. Currently there are none, hence it is forced +dnl not to match. AC_CACHE_CHECK(whether we should use the native getcwd, zsh_cv_use_getcwd, [case "${host_cpu}-${host_vendor}-${host_os}" in - *QNX*) zsh_cv_use_getcwd=yes ;; - *) zsh_cv_use_getcwd=no ;; + *NOMATCH*) zsh_cv_use_getcwd=no ;; + *) zsh_cv_use_getcwd=yes ;; esac]) AH_TEMPLATE([USE_GETCWD], [Define to 1 if you need to use the native getcwd.]) |