Return-Path: X-Original-To: apmail-apr-dev-archive@www.apache.org Delivered-To: apmail-apr-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A8C2418C11 for ; Sat, 21 Nov 2015 08:31:40 +0000 (UTC) Received: (qmail 72644 invoked by uid 500); 21 Nov 2015 08:31:40 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 72562 invoked by uid 500); 21 Nov 2015 08:31:40 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 72552 invoked by uid 99); 21 Nov 2015 08:31:40 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Nov 2015 08:31:40 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 10BABC05AD for ; Sat, 21 Nov 2015 08:31:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.554 X-Spam-Level: X-Spam-Status: No, score=-0.554 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.554, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ofFLqaWJl8m6 for ; Sat, 21 Nov 2015 08:31:33 +0000 (UTC) Received: from monica.sharp.fm (monica.sharp.fm [80.168.143.5]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTP id 54409205C2 for ; Sat, 21 Nov 2015 08:31:33 +0000 (UTC) Received: from [192.168.220.234] (unknown [192.168.220.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: minfrin@sharp.fm) by monica.sharp.fm (Postfix) with ESMTPSA id 1577580505; Sat, 21 Nov 2015 08:31:25 +0000 (GMT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Provide our own impl of str[n]casecmp()? From: Graham Leggett In-Reply-To: Date: Sat, 21 Nov 2015 10:31:24 +0200 Cc: APR Developer List Content-Transfer-Encoding: quoted-printable Message-Id: <3B23B43A-5232-441C-B9D9-FDC3AC8A8E0A@sharp.fm> References: To: William A Rowe Jr X-Mailer: Apple Mail (2.2104) On 21 Nov 2015, at 12:11 AM, William A Rowe Jr = wrote: > Any objections to picking this up for APR 1.next/2.0? >=20 > It seems that httpd isn't the only one who wants to be strict about=20 > case-insensitive token string recognition, and non-POSIX char case > gets weird quickly. +1 to this. Ideally we should add it to APR, and then provide a convenience function = in httpd that has the same implementation when the function in APR is = missing, and use the APR function when present. Regards, Graham =E2=80=94