httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r901326 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c
Date Wed, 20 Jan 2010 18:48:41 GMT
Author: trawick
Date: Wed Jan 20 18:48:41 2010
New Revision: 901326

URL: http://svn.apache.org/viewvc?rev=901326&view=rev
Log:
comment about implication of resolving the use of tmpnam()

Modified:
    httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c?rev=901326&r1=901325&r2=901326&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_mutex_unix.c Wed Jan 20 18:48:41 2010
@@ -104,6 +104,10 @@
     apr_lockmech_e mechanism = pick_mutex_mechanism();
     char *lockfile;
 
+    /* XXX This lock file name generation is unfortunate, but defaulting
+     * to a better place would require a directive to override it.  This
+     * is resolved for httpd 2.3+ by hooking into the Mutex support.
+     */
     lockfile = apr_palloc(pconf, L_tmpnam);
     tmpnam(lockfile);
     rv = apr_global_mutex_create(mutex, lockfile, mechanism, pconf);



Mime
View raw message