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
https://issues.apache.org/bugzilla/show_bug.cgi?id=49065

           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
                    3.mbox/%3Cb51ffb6f1003090819g4d64f990w63e09e1c1a6bc1f@
                    mail.gmail.com%3E
        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


Mime
View raw message