From patchwork Fri Sep 12 11:09:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 388584 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B7471400AA for ; Fri, 12 Sep 2014 21:09:20 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=i/WKGpxyXRZfA1W6eJRsIiARlggJU ZxzL3m4HPz9x0HZ5rtEJZpzEESYZDFS2tEQH9T2qDNtQ75z77XZnaaS6w6BaBH1o KSrGbX36XjKundZSMbenA52AB3LYzT6JjtR7uyxbpg3j1pYw1GWgeYDlojBL/1/t FLZ3qvYdNBnoaE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=l7fB6WADdMWCzGNM/DZ1tdTXOtY=; b=FtD Bv4KOkfIQNDp4cgAZrHLPunx6N0EbKwmd0fqspebMVnJjConrr0BOfMmwR53ykYI 6lAUVcSSLLO77/DCtwYIMb2pOUUyJ7+8b6IBomHY8qSf9dcp1E4hXKIH9nh3vzSx Kzgkz0OH6svlCh/r6w36qkuZN4m+yr0rCnaEGoNQ= Received: (qmail 31710 invoked by alias); 12 Sep 2014 11:09:10 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 31622 invoked by uid 89); 12 Sep 2014 11:09:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.5 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Date: Fri, 12 Sep 2014 16:39:02 +0530 From: Siddhesh Poyarekar To: libc-alpha@sourceware.org Subject: [COMMITTED] Fix typo in macro names in sysconf.c Message-ID: <20140912110902.GO14885@spoyarek.pnq.redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.22.1-rc1 (2013-10-16) I've pushed the following as obvious. Siddhesh commit 920238e061af76ac99dd94c40a80b0c6d23f35d4 Author: Siddhesh Poyarekar Date: Fri Sep 12 16:37:31 2014 +0530 Fix typo in macro names in sysconf.c Spell _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly. Found when trying to make the getconf environment variables typo-proof. * sysdeps/posix/sysconf.c (__sysconf): Spell _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly. diff --git a/ChangeLog b/ChangeLog index 95388d8..fdcaca6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-09-12 Siddhesh Poyarekar + + * sysdeps/posix/sysconf.c (__sysconf): Spell + _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly. + 2014-08-12 Florian Weimer * iconv/gconv_open.c (__gconv_open): Remove transliteration module diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c index e940099..cd2fb5a 100644 --- a/sysdeps/posix/sysconf.c +++ b/sysdeps/posix/sysconf.c @@ -886,13 +886,13 @@ __sysconf (name) return -1; #endif case _SC_DEVICE_SPECIFIC: -#if _POSIX_DEVICE_SPCIFIC > 0 +#if _POSIX_DEVICE_SPECIFIC > 0 return _POSIX_DEVICE_SPECIFIC; #else return -1; #endif case _SC_DEVICE_SPECIFIC_R: -#if _POSIX_DEVICE_SPCIFIC_R > 0 +#if _POSIX_DEVICE_SPECIFIC_R > 0 return _POSIX_DEVICE_SPECIFIC_R; #else return -1;