Return-Path: Delivered-To: apmail-apr-bugs-archive@www.apache.org Received: (qmail 46978 invoked from network); 7 Apr 2010 20:57:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Apr 2010 20:57:17 -0000 Received: (qmail 82672 invoked by uid 500); 7 Apr 2010 20:57:17 -0000 Delivered-To: apmail-apr-bugs-archive@apr.apache.org Received: (qmail 82641 invoked by uid 500); 7 Apr 2010 20:57:17 -0000 Mailing-List: contact bugs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apr.apache.org Delivered-To: mailing list bugs@apr.apache.org Received: (qmail 82634 invoked by uid 99); 7 Apr 2010 20:57:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Apr 2010 20:57:17 +0000 X-ASF-Spam-Status: No, hits=-1220.6 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Apr 2010 20:57:16 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 368C8234C4A9; Wed, 7 Apr 2010 20:56:55 +0000 (UTC) From: bugzilla@apache.org To: bugs@apr.apache.org Subject: DO NOT REPLY [Bug 49065] New: [PATCH] Add support for apr_hash_this_* X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: APR X-Bugzilla-Component: APR X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hwright@apache.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@apr.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 7 Apr 2010 20:56:55 +0000 (UTC) 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