cvs: php4 /ext/standard filestat.c

From: Date: Tue, 03 Apr 2001 10:51:16 +0000
Subject: cvs: php4 /ext/standard filestat.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4958@lists.php.net to get a copy of this message
sniper Tue Apr 3 03:51:16 2001 EDT Modified files: /php4/ext/standard filestat.c Log: SCO (and maybe others) do not have this defined. Index: php4/ext/standard/filestat.c diff -u php4/ext/standard/filestat.c:1.56 php4/ext/standard/filestat.c:1.57 --- php4/ext/standard/filestat.c:1.56 Sun Feb 25 22:07:17 2001 +++ php4/ext/standard/filestat.c Tue Apr 3 03:51:16 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: filestat.c,v 1.56 2001/02/26 06:07:17 andi Exp $ */ +/* $Id: filestat.c,v 1.57 2001/04/03 10:51:16 sniper Exp $ */ #include "php.h" #include "safe_mode.h" @@ -551,7 +551,7 @@ case S_IFDIR: RETURN_STRING("dir",1); case S_IFBLK: RETURN_STRING("block",1); case S_IFREG: RETURN_STRING("file",1); -#if !defined(ZEND_WIN32)&&!defined(__BEOS__) +#if defined(S_IFSOCK) && !defined(ZEND_WIN32)&&!defined(__BEOS__) case S_IFSOCK: RETURN_STRING("socket",1); #endif }

« previous php.cvs (#4958) next »