mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Instead of testing if /dev/zero is a file, just check if it is readable. Bug #16942 r=granrose
This commit is contained in:
parent
ae2479af9b
commit
2671e181c9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user