Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 95897431FBC for ; Fri, 15 Jan 2010 12:15:26 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.925 X-Spam-Level: X-Spam-Status: No, score=-1.925 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1.8, AWL=0.060, BAYES_40=-0.185] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wpi+HfxM-wln; Fri, 15 Jan 2010 12:15:25 -0800 (PST) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id AB2D0431FAE; Fri, 15 Jan 2010 12:15:25 -0800 (PST) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 6596D254091; Fri, 15 Jan 2010 12:15:25 -0800 (PST) From: Carl Worth To: djcb@djcbsoftware.nl, Olly Betts In-Reply-To: <87pr5bw383.wl%djcb@djcbsoftware.nl> References: <4B4ED7E8.20501@exys.org> <878wc0623y.fsf@exys.org> <20100114183854.1d04f111@hikari> <87fx68e2am.fsf@yoom.home.cworth.org> <878wbzx3td.wl%djcb@djcbsoftware.nl> <87pr5bw383.wl%djcb@djcbsoftware.nl> Date: Fri, 15 Jan 2010 12:15:24 -0800 Message-ID: <876373dt0j.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: notmuch@notmuchmail.org Subject: Re: [notmuch] indexing mail? X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2010 20:15:26 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri, 15 Jan 2010 21:57:32 +0200, Dirk-Jan C. Binnema wrote: > Olly> Underscore prefixed identifiers are reserved by ISO C at file-s= cope; > Olly> using them yourself is undefined behaviour... >=20 > Ah, thanks for reminding, I thought it was __ and _C (capital), but you a= re > right: >=20 > ,---- (7.1.3 Reserved identifiers) > | All identifiers that begin with an underscore and either an uppercase = letter > | or another underscore are always reserved for any use. > |=20 > | =E2=80=94 All identifiers that begin with an underscore are always rese= rved for use as > | identifiers with file scope in both the ordinary and tag name spaces. > `---- But please don't be too strict about this. Please feel very free to use any identifier with a _notmuch prefix. And really, feel free to use just about any underscore-prefixed identifier that you want that doesn't clash with anything on your system. Then if we do identify an actual clash somewhere then we can fix it. I think it was stupid of Posix to steal _ and a reserved prefix, and I really don't have a problem ignoring that. This is like I described in a recent mail---trying to prevent all portability problems just isn't worth the effort. It's much easier to fix problems that actually occur in practice. =2DCarl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLUMzd6JDdNq8qSWgRAmh/AJ9oRSoe9/H32Wu8JqEMv0HBm55OnwCfT0N7 z5WdgEgWvZkXMW2VL/phfX4= =Rr1C -----END PGP SIGNATURE----- --=-=-=--