summaryrefslogtreecommitdiff
path: root/sapi/apache2handler
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2004-06-18 00:36:58 +0000
committerIlia Alshanetsky <iliaa@php.net>2004-06-18 00:36:58 +0000
commitcfbf5b24b7d3800a8e4f683011eb132321b8f0c2 (patch)
tree3c0b332f013b5fdb54ee59884f4fcffe3bb818f2 /sapi/apache2handler
parentcf8a8a318978e8a3f02a779c8252fdede584d62b (diff)
downloadphp-git-cfbf5b24b7d3800a8e4f683011eb132321b8f0c2.tar.gz
Fixed bug #28818 (Apache 2 sapis do not export st_dev).
Diffstat (limited to 'sapi/apache2handler')
-rw-r--r--sapi/apache2handler/sapi_apache2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c
index ebcb625613..0bc5f15bc8 100644
--- a/sapi/apache2handler/sapi_apache2.c
+++ b/sapi/apache2handler/sapi_apache2.c
@@ -181,6 +181,7 @@ php_apache_sapi_get_stat(TSRMLS_D)
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;