From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29242 invoked by alias); 30 May 2014 02:28:46 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 29229 invoked by uid 89); 30 May 2014 02:28:45 -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,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-pd0-f169.google.com Received: from mail-pd0-f169.google.com (HELO mail-pd0-f169.google.com) (209.85.192.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 30 May 2014 02:28:44 +0000 Received: by mail-pd0-f169.google.com with SMTP id w10so408749pde.14 for ; Thu, 29 May 2014 19:28:43 -0700 (PDT) X-Received: by 10.66.189.226 with SMTP id gl2mr14120612pac.65.1401416922979; Thu, 29 May 2014 19:28:42 -0700 (PDT) Received: from [192.168.1.119] ([124.127.118.42]) by mx.google.com with ESMTPSA id nf5sm3484919pbc.77.2014.05.29.19.28.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 29 May 2014 19:28:42 -0700 (PDT) Message-ID: <5387ECD5.6080407@gmail.com> Date: Fri, 30 May 2014 02:28:00 -0000 From: Chen Gang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: jan.kratochvil@redhat.com, drow@false.org, brobecker@gnat.com, muller@sourceware.org, palves@redhat.com, nickc@redhat.com, macro@linux-mips.org, binutils@sourceware.org Subject: Re: [PATCH] readline/util.c: use '%d' instead of 'ld' to avoid compiling warning References: <5387CCBD.7070203@gmail.com> <20140530021507.GT6679@bubble.grove.modra.org> <20140530022231.GU6679@bubble.grove.modra.org> In-Reply-To: <20140530022231.GU6679@bubble.grove.modra.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2014-05/txt/msg00286.txt.bz2 On 05/30/2014 10:22 AM, Alan Modra wrote: > On Fri, May 30, 2014 at 11:45:07AM +0930, Alan Modra wrote: >> On Fri, May 30, 2014 at 08:11:41AM +0800, Chen Gang wrote: >>> getpid() will return 'pid_t' which is always 'int', so need use '%d' >>> instead of '%ld' in sprintf(). >> >> Please do not copy many lists and/or maintainers. This patch should >> have gone just to gdb-patches@sourceware.org, since readline belongs >> to the gdb project. > > Oops, maybe *I* should have read readline/README before sending my > email. readline/README tells you the correct mailing list! > OK, thanks. And excuse me, originally, I did not know that readline only belongs to gdb. Thanks. -- Chen Gang Open, share, and attitude like air, water, and life which God blessed