zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r1157577 - in /zookeeper/trunk: CHANGES.txt src/c/src/zookeeper.c
Date Sun, 14 Aug 2011 17:48:36 GMT
Author: mahadev
Date: Sun Aug 14 17:48:35 2011
New Revision: 1157577

URL: http://svn.apache.org/viewvc?rev=1157577&view=rev
Log:
ZOOKEEPER-1150. fix for this patch to compile on windows. (dheeraj via mahadev)

Modified:
    zookeeper/trunk/CHANGES.txt
    zookeeper/trunk/src/c/src/zookeeper.c

Modified: zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/trunk/CHANGES.txt?rev=1157577&r1=1157576&r2=1157577&view=diff
==============================================================================
--- zookeeper/trunk/CHANGES.txt (original)
+++ zookeeper/trunk/CHANGES.txt Sun Aug 14 17:48:35 2011
@@ -282,6 +282,9 @@ BUGFIXES: 
   ZOOKEEPER-1146. significant regression in client (c/python) performance.
   (phunt via mahadev)
 
+  ZOOKEEPER-1150. fix for this patch to compile on windows. (dheeraj
+  via mahadev)
+
 IMPROVEMENTS:
   ZOOKEEPER-724. Improve junit test integration - log harness information 
   (phunt via mahadev)

Modified: zookeeper/trunk/src/c/src/zookeeper.c
URL: http://svn.apache.org/viewvc/zookeeper/trunk/src/c/src/zookeeper.c?rev=1157577&r1=1157576&r2=1157577&view=diff
==============================================================================
--- zookeeper/trunk/src/c/src/zookeeper.c (original)
+++ zookeeper/trunk/src/c/src/zookeeper.c Sun Aug 14 17:48:35 2011
@@ -1896,9 +1896,10 @@ static void process_sync_completion(
         if (sc->rc==0) {
             struct CreateResponse res;
             int len;
+            const char * client_path;
             deserialize_CreateResponse(ia, "reply", &res);
             //ZOOKEEPER-1027
-            const char * client_path = sub_string(zh, res.path); 
+            client_path = sub_string(zh, res.path); 
             len = strlen(client_path) + 1;if (len > sc->u.str.str_len) {
                 len = sc->u.str.str_len;
             }



Mime
View raw message