From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: list-colors-display shows only one color Date: Wed, 13 Feb 2002 14:31:34 +0100 Message-ID: References: <8296-Mon11Feb2002214825+0200-eliz@is.elta.co.il> <20020212100011.B5B9.LEKTU@terra.es> <20020212125234.B5C4.LEKTU@terra.es> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: quimby2.netfonds.no 1013607884 6004 195.204.10.66 (13 Feb 2002 13:44:44 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 13 Feb 2002 13:44:44 GMT Cc: emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16aziF-0001Yk-00 for ; Wed, 13 Feb 2002 14:44:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16azXE-0000nd-00; Wed, 13 Feb 2002 08:33:20 -0500 Original-Received: from ns.suse.de ([213.95.15.193] helo=Cantor.suse.de) by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian)) id 16azVe-0008Sg-00 for ; Wed, 13 Feb 2002 08:31:43 -0500 Original-Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id 68A151E688; Wed, 13 Feb 2002 14:31:38 +0100 (MET) X-Authentication-Warning: sykes.suse.de: schwab set sender to schwab@suse.de using -f Original-To: Juanma Barranquero X-Yow: Are you guys lined up for the METHADONE PROGRAM or FOOD STAMPS?? In-Reply-To: <20020212125234.B5C4.LEKTU@terra.es> (Juanma Barranquero's message of "Tue, 12 Feb 2002 13:18:51 +0100") Original-Lines: 23 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1062 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1062 Juanma Barranquero writes: |> Anway, 1 << 32 is an error because it's obviously going to overflow cap. The C standard makes this undefined: 6.5.7 Bitwise shift operators [#3] The integer promotions are performed on each of the operands. The type of the result is that of the promoted left operand. If the value of the right operand is negative or is greater than or equal to the width of the promoted left operand, the behavior is undefined. Even (1 << 31) is undefined, since that is not representable in a 32-bit signed int. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel