From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754617AbaIPWIy (ORCPT ); Tue, 16 Sep 2014 18:08:54 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:55303 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753934AbaIPWIw (ORCPT ); Tue, 16 Sep 2014 18:08:52 -0400 Date: Tue, 16 Sep 2014 15:08:57 -0700 From: Darren Hart To: Rasmus Villemoes Cc: Andrew Morton , linux-kernel@vger.kernel.org, Henrique de Moraes Holschuh , ibm-acpi-devel@lists.sourceforge.net, platform-driver-x86@vger.kernel.org Subject: Re: [PATCH 17/22] thinkpad_acpi: Replace strnicmp with strncasecmp Message-ID: <20140916220857.GA12780@vmdeb7> References: <1410900696-6481-1-git-send-email-linux@rasmusvillemoes.dk> <1410900696-6481-18-git-send-email-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1410900696-6481-18-git-send-email-linux@rasmusvillemoes.dk> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 16, 2014 at 10:51:31PM +0200, Rasmus Villemoes wrote: > The kernel used to contain two functions for length-delimited, > case-insensitive string comparison, strnicmp with correct semantics > and a slightly buggy strncasecmp. The latter is the POSIX name, so > strnicmp was renamed to strncasecmp, and strnicmp made into a wrapper > for the new strncasecmp to avoid breaking existing users. When was this done? As of this morning I still see them as independent functions in lib/string.c. -- Darren Hart Intel Open Source Technology Center