Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] for zsh_PATH_UTMP to find wtmp on some systems



On Debian GNU/Linux 2.0 systems and other modern Linux-based systems, wtmp
is found in /var/log.

--- aczsh.m4~	Thu Oct 29 14:08:11 1998
+++ aczsh.m4	Sat Oct 31 22:07:40 1998
@@ -388,7 +388,7 @@ dnl

 AC_DEFUN(zsh_PATH_UTMP,
 [AC_CACHE_CHECK([for $1 file], [zsh_cv_path_$1],
-[for dir in /etc /usr/etc /var/adm /usr/adm /var/run ./conftest; do
+[for dir in /etc /usr/etc /var/adm /usr/adm /var/run /var/log ./conftest; do
   zsh_cv_path_$1=${dir}/$1
   test -f $zsh_cv_path_$1 && break
   zsh_cv_path_$1=no
--
Joel Klecker (aka Espy)
<URL:mailto:jk@xxxxxxxx>        <URL:http://web.espy.org/>
   Debian GNU/Linux user/developer on i386 and powerpc.
<URL:mailto:espy@xxxxxxxxxx>  <URL:http://www.debian.org/>



Messages sorted by: Reverse Date, Date, Thread, Author