apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49065] New: [PATCH] Add support for apr_hash_this_*
Date Wed, 07 Apr 2010 20:56:55 GMT

           Summary: [PATCH] Add support for apr_hash_this_*
           Product: APR
           Version: HEAD
          Platform: All
               URL: http://mail-archives.apache.org/mod_mbox/apr-dev/20100
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: hwright@apache.org

Created an attachment (id=25242)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25242)
Patch to implement the apr_hash_index_* functions

In using the apr_hash data structure in Subversion, we've found that we
often only want the key or value from a hash.  Furthermore, casting
the various return parameters has proven cumbersome.  To solve this
problem, we've introduced three helper functions to return the key,
key length, and value from a hash iterator.

We've found these functions quite useful, so I'm including a patch to
add them to APR proper.  The patch is against trunk, but if possible,
I'd like to see these APIs backported to 1.5.x.

This patch was submitted to the mailing list several weeks ago, and
received positive discussion but nobody committed it.  I'm posting it
here so that somebody eventually does commit it.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message