You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2010/04/07 22:56:55 UTC

DO NOT REPLY [Bug 49065] New: [PATCH] Add support for apr_hash_this_*

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


[Bug 49065] [PATCH] Add support for apr_hash_this_*

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49065

--- Comment #2 from Rainer Jung <ra...@kippdata.de> ---
Backported to APR 1.5.x in r1462461.

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


DO NOT REPLY [Bug 49065] [PATCH] Add support for apr_hash_this_*

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49065

Jeff Trawick <tr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Jeff Trawick <tr...@apache.org> 2010-04-08 15:37:36 UTC ---
committed as r931973

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


DO NOT REPLY [Bug 49065] [PATCH] Add support for apr_hash_this_*

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49065

Jeff Trawick <tr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

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