From owner-freebsd-stable@FreeBSD.ORG Wed Dec 22 14:25:24 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1749916A4CE for ; Wed, 22 Dec 2004 14:25:24 +0000 (GMT) Received: from mail.ticketswitch.com (mail.ticketswitch.com [194.200.93.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8C4743D1F for ; Wed, 22 Dec 2004 14:25:23 +0000 (GMT) (envelope-from petefrench@ticketswitch.com) Received: from [172.16.1.6] (helo=dilbert.firstcallgroup.co.uk) by mail.ticketswitch.com with esmtp (Exim 4.32; FreeBSD) id 1Ch7QW-0003YA-9h; Wed, 22 Dec 2004 14:25:20 +0000 Received: from petefrench by dilbert.firstcallgroup.co.uk with local (Exim 4.42 (FreeBSD)) id 1Ch7QQ-000GlO-MB; Wed, 22 Dec 2004 14:25:14 +0000 To: ertr1013@student.uu.se, petefrench@ticketswitch.com In-Reply-To: <20041222141450.GA51987@falcon.midgard.homeip.net> Message-Id: From: Pete French Date: Wed, 22 Dec 2004 14:25:14 +0000 cc: brett@lariat.org cc: stable@freebsd.org cc: colin.percival@wadham.ox.ac.uk Subject: Re: Will there be a 5.3.1? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2004 14:25:24 -0000 > The type of a decimal integer constant without any suffix is the first > of 'int', 'long', 'long long' in which the constant can be represented. It is ? Well, you learn something new every day I guess! I stand corrected in that case. Appologies. > (For C89 it was the first of 'int', 'long', 'unsigned long') ...and before that ? Did this behaviour change at the end of the 80's - I don't actually recall seeing it on any compilers after 88 or so I have to admit. > No doubt, but if it does the compilers are buggy. Apparently so. It seems I've spent the last 18 years or so believing an untyped integer constant was always of type 'int' when it wasn't true. Well, maybe I will be less anal about adding 'L' to the ends of my constants from now on. -pcf.