You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Tim Crowder (JIRA)" <ji...@apache.org> on 2015/02/05 09:07:34 UTC

[jira] [Created] (ZOOKEEPER-2114) jute generated allocate_* functions are not externally visible

Tim Crowder created ZOOKEEPER-2114:
--------------------------------------

             Summary: jute generated allocate_* functions are not externally visible
                 Key: ZOOKEEPER-2114
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2114
             Project: ZooKeeper
          Issue Type: Bug
          Components: c client
    Affects Versions: 3.5.0
            Reporter: Tim Crowder


Some jute generated functions (e.g. allocate_ACL_vector) that should be publicly exported are given local (vs global) linkage. This is due to an incomplete regex for EXPORT_SYMBOLS  in the C Makefile.am.

Without allocate_ACL_vector it's not possible to set ACL lists from C.
The regex should include "allocate_" :

EXPORT_SYMBOLS = '(zoo_|zookeeper_|zhandle|Z|format_log_message|log_message|logLevel|deallocate_|allocate_|zerror|is_unrecoverable)'




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)