From patchwork Tue Oct 21 17:18:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland McGrath X-Patchwork-Id: 401662 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 F0A81140088 for ; Wed, 22 Oct 2014 04:49:49 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:from:to:cc:subject:in-reply-to :references:message-id:date; q=dns; s=default; b=FivxC5eqtLOgt9B yTbOZjZf8QYhOFzCPj1cYQpiY5XW+qwp06DGLVnZCfpwWfQkxURPmE0yzmkAOitn 9dFju0umVw3N00olCmrWFU1Yl7HQARxRZXdZJUO74rjwqVtKyq8RboQP0jUctRYb gr+nCzxjZMzdnV0ineK1YzozcDMU= 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:mime-version:content-type :content-transfer-encoding:from:to:cc:subject:in-reply-to :references:message-id:date; s=default; bh=rzS0B/N7UMvx078eRzcSy Y/pk+k=; b=E1hjV/bwK54LwUDLWE1NGiQ9ImeYqTUy6irfJUUO1BcuhBzVpd4QR tZGqtZyKV1DepZeIfHBSQpUP4Y3kk2xHfmEOLrF1VUulj70Cq3R62PB6IBoB7OCp QGxZLtClv8UB+wYqkU9lwd5mXLbtDZBl3ziWylhI+a82EersqGguX4= Received: (qmail 22816 invoked by alias); 21 Oct 2014 17:18:49 -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 22796 invoked by uid 89); 21 Oct 2014 17:18:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: topped-with-meat.com MIME-Version: 1.0 From: Roland McGrath To: "Joseph S. Myers" Cc: "GNU C. Library" Subject: Re: [COMMITTED PATCH] NPTL: Clean up gratuitous Linuxism in libpthread.so entry point. In-Reply-To: Joseph S. Myers's message of Tuesday, 21 October 2014 00:44:31 +0000 References: <20141020215700.252102C3B0A@topped-with-meat.com> Message-Id: <20141021171842.DAEEF2C3B04@topped-with-meat.com> Date: Tue, 21 Oct 2014 10:18:42 -0700 (PDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=SvUDtp+0 c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117 a=14OXPxybAAAA:8 a=Z6MIti7PxpgA:10 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=fMXzNj4NAZUPkcYyXZAA:9 a=CjuIK1q_8ugA:10 a=csXtO91z4CYA:10 a=pdYreWjMvI4A:10 a=49ptP39-uuYA:10 Oops. Fixed thusly. Thanks, Roland 2014-10-21 Roland McGrath * nptl/version.c (__nptl_main): Call __libc_write, not __write. --- a/nptl/version.c +++ b/nptl/version.c @@ -38,6 +38,6 @@ __attribute__ ((noreturn)) void __nptl_main (void) { - __write (STDOUT_FILENO, (const char *) banner, sizeof banner - 1); + __libc_write (STDOUT_FILENO, banner, sizeof banner - 1); _exit (0); }