mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
49537: fix finding utmpx file on FreeBSD
This commit is contained in:
parent
b067ab08d6
commit
2947130f91
3 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2021-11-02 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
|
* 49537: aczsh.m4, configure.ac: fix finding utmpx file on FreeBSD
|
||||||
|
|
||||||
2021-11-01 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
2021-11-01 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||||
|
|
||||||
* 49535: Src/Zle/compcore.c: fix completion of parameter names
|
* 49535: Src/Zle/compcore.c: fix completion of parameter names
|
||||||
|
|
4
aczsh.m4
4
aczsh.m4
|
@ -544,9 +544,9 @@ dnl
|
||||||
AC_DEFUN(zsh_PATH_UTMP,
|
AC_DEFUN(zsh_PATH_UTMP,
|
||||||
[AC_CACHE_CHECK([for $1 file], [zsh_cv_path_$1],
|
[AC_CACHE_CHECK([for $1 file], [zsh_cv_path_$1],
|
||||||
[for dir in /etc /usr/etc /var/adm /usr/adm /var/run /var/log ./conftest; do
|
[for dir in /etc /usr/etc /var/adm /usr/adm /var/run /var/log ./conftest; do
|
||||||
zsh_cv_path_$1=${dir}/$1
|
m4_foreach([file],[$@],[zsh_cv_path_$1=${dir}/file
|
||||||
test -f $zsh_cv_path_$1 && break
|
test -f $zsh_cv_path_$1 && break
|
||||||
zsh_cv_path_$1=no
|
])zsh_cv_path_$1=no
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
AH_TEMPLATE([PATH_]translit($1, [a-z], [A-Z])[_FILE],
|
AH_TEMPLATE([PATH_]translit($1, [a-z], [A-Z])[_FILE],
|
||||||
|
|
|
@ -2108,7 +2108,7 @@ dnl CHECK FOR LOCATION OF {U,W}TMP{,X} FILES
|
||||||
dnl ----------------------------------------
|
dnl ----------------------------------------
|
||||||
zsh_PATH_UTMP(utmp)
|
zsh_PATH_UTMP(utmp)
|
||||||
zsh_PATH_UTMP(wtmp)
|
zsh_PATH_UTMP(wtmp)
|
||||||
zsh_PATH_UTMP(utmpx)
|
zsh_PATH_UTMP(utmpx,utx.active)
|
||||||
zsh_PATH_UTMP(wtmpx)
|
zsh_PATH_UTMP(wtmpx)
|
||||||
|
|
||||||
dnl -------------------
|
dnl -------------------
|
||||||
|
|
Loading…
Reference in a new issue