You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2009/09/17 14:54:46 UTC
svn commit: r816174 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c
Author: jim
Date: Thu Sep 17 12:54:46 2009
New Revision: 816174
URL: http://svn.apache.org/viewvc?rev=816174&view=rev
Log:
Until we fix handling of ino_t, cast to what we expect/force
it to be.
Modified:
httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c
Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c?rev=816174&r1=816173&r2=816174&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proc_unix.c Thu Sep 17 12:54:46 2009
@@ -396,13 +396,14 @@
/* Set the (deviceid, inode) -> fastcgi path map for log */
apr_snprintf(key_name, _POSIX_PATH_MAX, "%lX%lX",
- procnode->inode, (unsigned long) procnode->deviceid);
+ (unsigned long) procnode->inode,
+ (unsigned long) procnode->deviceid);
dummy = NULL;
apr_pool_userdata_get(&dummy, key_name, g_inode_cginame_map);
if (!dummy) {
/* Insert a new item if key not found */
const char *put_key = apr_psprintf(g_inode_cginame_map, "%lX%lX",
- procnode->inode,
+ (unsigned long) procnode->inode,
(unsigned long) procnode->deviceid);
const char *fcgipath = apr_psprintf(g_inode_cginame_map, "%s",
procinfo->cgipath);
@@ -802,7 +803,8 @@
/* Get the file name infomation base on inode and deviceid */
apr_snprintf(key_name, _POSIX_PATH_MAX, "%lX%lX",
- procnode->inode, (unsigned long) procnode->deviceid);
+ (unsigned long) procnode->inode,
+ (unsigned long) procnode->deviceid);
apr_pool_userdata_get(&tmp, key_name,
g_inode_cginame_map);
cgipath = tmp;