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

From: Date: Mon, 15 Mar 2021 17:09:17 +0000
Subject: Bug #60092 [Opn->Fbk]: inappropriate use of st_blksize and st_blocks
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232745@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
 Updated by:         cmb@php.net
 Reported by:        jojo at hp dot com
 Summary:            inappropriate use of st_blksize and st_blocks
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Compile Failure
 Operating System:   HP NonStop
 PHP Version:        5.3.8
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Is that still an issue for any of the actively supported PHP
versions[1]?  If so, consider to provide a pull request[2].

[1] <https://www.php.net/supported-versions.php>
[2] <https://github.com/php/php-src/blob/master/CONTRIBUTING.md#pull-requests>


Previous Comments:
------------------------------------------------------------------------
[2011-10-20 11:48:50] jojo at hp dot com

Patch attached now

------------------------------------------------------------------------
[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 (#232745) next »