From: xuefer at 21cn dot com
Operating system: linux
PHP version: 4.3.7
PHP Bug Type: Apache2 related
Bug description: missing ctx->finfo.st_dev
Description:
------------
affected pecl/apc
patch:
cvs diff: Diffing .
Index: sapi_apache2.c
===================================================================
RCS file: /repository/php-src/sapi/apache2handler/sapi_apache2.c,v
retrieving revision 1.1.2.30
diff -u -r1.1.2.30 sapi_apache2.c
--- sapi_apache2.c 16 Mar 2004 22:38:17 -0000 1.1.2.30
+++ sapi_apache2.c 17 Jun 2004 12:21:41 -0000
@@ -179,6 +179,7 @@
ctx->finfo.st_uid = ctx->r->finfo.user;
ctx->finfo.st_gid = ctx->r->finfo.group;
+ ctx->finfo.st_dev = ctx->r->finfo.device;
ctx->finfo.st_ino = ctx->r->finfo.inode;
#if defined(NETWARE) && defined(CLIB_STAT_PATCH)
ctx->finfo.st_atime.tv_sec = ctx->r->finfo.atime/1000000;
--
Edit bug report at http://bugs.php.net/?id=28818&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28818&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28818&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28818&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28818&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28818&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28818&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28818&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28818&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28818&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28818&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28818&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28818&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28818&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28818&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28818&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28818&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28818&r=float