Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2114

jute generated allocate_* functions are not externally visible

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.4.7, 3.5.1, 3.6.0
    • Component/s: c client
    • Labels:
      None
    • Release Note:
      Expose jute-generated allocate_XXX functions in libzookeeper.

      Description

      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)'

        Attachments

          Activity

            People

            • Assignee:
              timrc Tim Crowder
              Reporter:
              timrc Tim Crowder
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: