Bug #60092 [Opn]: inappropriate use of st_blksize and st_blocks

From: Date: Thu, 20 Oct 2011 11:48:50 +0000
Subject: Bug #60092 [Opn]: inappropriate use of st_blksize and st_blocks
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-164469@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60092&edit=1

 ID:                 60092
 User updated by:    jojo at hp dot com
 Reported by:        jojo at hp dot com
 Summary:            inappropriate use of st_blksize and st_blocks
 Status:             Open
 Type:               Bug
 Package:            Compile Failure
 Operating System:   HP NonStop
 PHP Version:        5.3.8
 Block user comment: N
 Private report:     N

 New Comment:

Patch attached now


Previous Comments:
------------------------------------------------------------------------
[2011-10-19 13:11:13] jojo at hp dot com

Description:
------------
using st_blksite and st_blocks outside of HAVE_ST_BLKSIZE resp. HABE_ST_BLOCKS in several files,
uses !PHP_WIN32 resp. !__BEOS__ instead:
...ext/phar/function_interceptors.c
...ext/phar/stream.c
...ext/sqlite3/libsqlite/sqlite3.c
...main/streams/memory.c


This of course fails on platforms other than WIN32 or BEOS that don't have these, like uin my
cace, HP NonStop ("#ifdef __TANDEM").



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60092&edit=1


Thread (4 messages)

« previous php.bugs (#164469) next »