From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24310 invoked by alias); 30 Aug 2010 11:11:30 -0000 Received: (qmail 24300 invoked by uid 22791); 30 Aug 2010 11:11:29 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 Aug 2010 11:11:24 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id o7UBB22N015984; Mon, 30 Aug 2010 13:11:02 +0200 (CEST) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id o7UBB0c8030327; Mon, 30 Aug 2010 13:11:00 +0200 (CEST) Date: Mon, 30 Aug 2010 11:11:00 -0000 Message-Id: <201008301111.o7UBB0c8030327@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: eliz@gnu.org CC: jan.kratochvil@redhat.com, gdb-patches@sourceware.org In-reply-to: (message from Eli Zaretskii on Mon, 30 Aug 2010 06:08:50 -0400) Subject: Re: [patch 1/9]#2 Rename `enum target_signal' to target_signal_t References: <20100830071040.GB6831@host1.dyn.jankratochvil.net> <201008300814.o7U8ECNZ009010@glazunov.sibelius.xs4all.nl> <20100830082407.GA6881@host1.dyn.jankratochvil.net> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-08/txt/msg00505.txt.bz2 > From: Eli Zaretskii > Date: Mon, 30 Aug 2010 06:08:50 -0400 > > > Date: Mon, 30 Aug 2010 10:24:07 +0200 > > From: Jan Kratochvil > > Cc: gdb-patches@sourceware.org > > > > On Mon, 30 Aug 2010 10:14:12 +0200, Mark Kettenis wrote: > > > The _t suffix is actually reserved by POSIX, so using it is actually a > > > bad idea. Perhaps change it to gdb_target_signal, or just > > > target_signal (making it a typedef for an anonymous enum)? > > > > I see too many types in GDB and everywhere ending with _t (ptid_t for all). > > Right, and I didn't know it was reserved. Mark, could you please > point to the Posix document (hopefully, freely accessible) which says > that? TIA http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_02.html The _t suffix is listed on the last row of the first table on that page. Cheers, Mark