[EMAIL PROTECTED] wrote:
+#if APR_HAS_SHARED_MEMORY
+/* If the cache file already exists then delete it. Otherwise we are
+ * going to run into problems creating the shared memory. */
+apr_file_remove(st->cache_file, ptemp);
+if (st->cache_file) {
+
No, I didn't change anything that would allow for anonymous shared
memory. This should probably check for a NULL before calling
apr_file_remove().
Brad
Brad Nicholes
Senior Software Engineer
Novell, Inc., the leading provider of Net business solutions
http://www.novell.com
>>> [EMAIL PROTECT
Brad Nicholes wrote:
No, I didn't change anything that would allow for anonymous shared
memory. This should probably check for a NULL before calling
apr_file_remove().
+apr_file_remove(st->cache_file, ptemp);
Will this line segfault if ptempt is NULL? If not, then it should be
fine. I
ptemp shouldn't ever be NULL on a post_config, right? I just fixed
the code so that it checks for a NULL file name before calling
apr_file_remove().
Brad
Brad Nicholes
Senior Software Engineer
Novell, Inc., the leading provider of Net business solutions
http://www.novell.com
>>> [EMAIL PROT
This patch should fix the shared memory issues on Linux and Solaris.
But this code could use some more review and testing. I would like to
get mod_auth_ldap and mod_ldap out of experimental if this proves to
stabilize the module. On a related issue, I would also like to backport
these patches