Instead of testing if /dev/zero is a file, just check if it is readable. Bug #16942 r=granrose

This commit is contained in:
cls%seawood.org 1999-12-05 03:50:53 +00:00
parent ae2479af9b
commit 2671e181c9

View File

@ -1812,7 +1812,7 @@ if test "$HAVE_DEV_ZERO"; then
AC_DEFINE(HAVE_DEV_ZERO)
AC_MSG_RESULT(yes)
else
if test -f /dev/zero; then
if test -r /dev/zero; then
AC_DEFINE(HAVE_DEV_ZERO)
AC_MSG_RESULT(yes)
else