From: Greg Beaver Date: Fri, 24 Oct 2003 05:34:16 +0000 (+0000) Subject: MFH #25174 X-Git-Tag: php-4.3.4~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4608fd6e3f8336ff635e2842dc8f0f0c73445de1;p=php MFH #25174 --- diff --git a/pear/OS/Guess.php b/pear/OS/Guess.php index c6852fef25..e34d9cf2a8 100644 --- a/pear/OS/Guess.php +++ b/pear/OS/Guess.php @@ -176,7 +176,7 @@ class OS_Guess } pclose($cpp); unlink($tmpfile); - if (!($major && $minor) && file_exists('/lib/libc.so.6')) { + if (!($major && $minor) && is_link('/lib/libc.so.6')) { // Let's try reading the libc.so.6 symlink if (ereg('^libc-([.*])\.so$', basename(readlink('/lib/libc.so.6')), $matches)) { list($major, $minor) = explode('.', $matches);