cvs: pecl /apc apc_sma.c
| From: | Rasmus Lerdorf | Date: | Thu, 16 Sep 2004 04:51:39 +0000 |
| Subject: | cvs: pecl /apc apc_sma.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-1842@lists.php.net to get a copy of this message | ||
rasmus Thu Sep 16 00:51:39 2004 EDT
Modified files:
/pecl/apc apc_sma.c
Log:
ZTS fix, I guess.
http://cvs.php.net/diff.php/pecl/apc/apc_sma.c?r1=1.20&r2=1.21&ty=u
Index: pecl/apc/apc_sma.c
diff -u pecl/apc/apc_sma.c:1.20 pecl/apc/apc_sma.c:1.21
--- pecl/apc/apc_sma.c:1.20 Sat Sep 11 22:56:58 2004
+++ pecl/apc/apc_sma.c Thu Sep 16 00:51:39 2004
@@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: apc_sma.c,v 1.20 2004/09/12 02:56:58 rasmus Exp $ */
+/* $Id: apc_sma.c,v 1.21 2004/09/16 04:51:39 rasmus Exp $ */
#include "apc_sma.h"
#include "apc.h"
@@ -312,8 +312,8 @@
off = sma_allocate(sma_shmaddrs[i], n);
if (off != -1) {
void* p = (void *)(((char *)(sma_shmaddrs[i])) + off);
- UNLOCK(sma_lock);
sma_lastseg = i;
+ UNLOCK(sma_lock);
return p;
}
}