mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-05-20 11:31:28 +02:00
52394: alter form of /dev/fd test to work where /bin/sh is ksh such as on Solaris 11
This commit is contained in:
parent
10c3ed20c7
commit
0b5850c162
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2023-12-13 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 52394: configure.ac: alter form of /dev/fd test to work where
|
||||
/bin/sh is ksh such as on Solaris 11
|
||||
|
||||
* 52393: Test/ztst.zsh: fix tests on Solaris by omitting -a option
|
||||
to diff as it is not supported there
|
||||
|
||||
|
|
|
@ -2016,7 +2016,7 @@ AH_TEMPLATE([PATH_DEV_FD],
|
|||
[Define to the path of the /dev/fd filesystem.])
|
||||
AC_CACHE_CHECK(for /dev/fd filesystem, zsh_cv_sys_path_dev_fd,
|
||||
[for zsh_cv_sys_path_dev_fd in /proc/self/fd /dev/fd no; do
|
||||
test x`echo ok|(exec 3<&0; cat $zsh_cv_sys_path_dev_fd/3 2>/dev/null;)` = xok && break
|
||||
(exec 3<&0; test -e $zsh_cv_sys_path_dev_fd/3;) && break
|
||||
done])
|
||||
if test x$zsh_cv_sys_path_dev_fd != xno; then
|
||||
AC_DEFINE_UNQUOTED(PATH_DEV_FD, "$zsh_cv_sys_path_dev_fd")
|
||||
|
|
Loading…
Reference in a new issue