[PHP-DEV] PHP 4.0 Bug #8027: diskfreespace always return 0 in FreeBSD From: akss <email protected>
Date: 11/29/00

From: akss <email protected>
Operating system: FreeBSD
PHP version: 4.0.3pl1
PHP Bug Type: Filesystem function related
Bug description: diskfreespace always return 0 in FreeBSD

file: php/functions/filestat.c

Need add include sys/param.h & sys/mount.h for FreeBSD. Otherwise diskfreespace always return 0 (gcc error: storage size of `buf' isn't known)

This bug is true for 3.0.x & 4.0.x versions.

-- 
Edit Bug report at: http://bugs.php.net/?id=8027&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>