Follow up to r1378181 (also related: r1528229):
Windows: Initialize two fields in the fcgid_command structure.
Accidental autodata values here could prevent finding
a suitable existing FastCGI process.
git-svn-id: https://svn.apache.org/repos/asf/httpd/mod_fcgid/trunk@1529062 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/CHANGES-FCGID b/CHANGES-FCGID
index c1a3ee1..d473aa9 100644
--- a/CHANGES-FCGID
+++ b/CHANGES-FCGID
@@ -1,7 +1,8 @@
-*- coding: utf-8 -*-
Changes with mod_fcgid 2.3.9
- *) Revert fix for PR 53693 (added in 2.3.8 but undocumented).
+ *) Revert fix for PR 53693, added in 2.3.8 but undocumented. Fix
+ issues with a minor optimization added in 2.3.8. [Jeff Trawick]
Changes with mod_fcgid 2.3.8
diff --git a/modules/fcgid/fcgid_pm_win.c b/modules/fcgid/fcgid_pm_win.c
index c983d40..9712dfb 100644
--- a/modules/fcgid/fcgid_pm_win.c
+++ b/modules/fcgid/fcgid_pm_win.c
@@ -142,6 +142,8 @@
AP_DEBUG_ASSERT(sizeof command->cmdline > strlen(cmd_conf->cmdline));
apr_cpystrn(command->cmdline, cmd_conf->cmdline, sizeof command->cmdline);
+ command->inode = (apr_ino_t) -1;
+ command->deviceid = (dev_t) -1;
command->uid = (uid_t) - 1;
command->gid = (gid_t) - 1;
command->userdir = 0;