瀏覽代碼

ZOOKEEPER-977. passing null for path_buffer in zoo_create (breed via mahadev)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1068747 13f79535-47bb-0310-9956-ffa450edef68
Mahadev Konar 14 年之前
父節點
當前提交
feb7bece1a
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 2 0
      CHANGES.txt
  2. 1 1
      src/c/include/zookeeper.h

+ 2 - 0
CHANGES.txt

@@ -232,6 +232,8 @@ IMPROVEMENTS:
 
   ZOOKEEPER-500. Async methods shouldnt throw exceptions (fpj via breed)
 
+  ZOOKEEPER-977. passing null for path_buffer in zoo_create (breed via mahadev)
+
 NEW FEATURES:
   ZOOKEEPER-729. Java client API to recursively delete a subtree.
   (Kay Kay via henry)

+ 1 - 1
src/c/include/zookeeper.h

@@ -1061,7 +1061,7 @@ ZOOAPI void zoo_deterministic_conn_order(int yesOrNo);
  * \param path_buffer Buffer which will be filled with the path of the
  *    new node (this might be different than the supplied path
  *    because of the ZOO_SEQUENCE flag).  The path string will always be
- *    null-terminated.
+ *    null-terminated. This parameter may be NULL if path_buffer_len = 0.
  * \param path_buffer_len Size of path buffer; if the path of the new
  *    node (including space for the null terminator) exceeds the buffer size,
  *    the path string will be truncated to fit.  The actual path of the