Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260513134826.GC3520958@port70.net>
Date: Wed, 13 May 2026 15:48:26 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: Rich Felker <dalias@...c.org>
Cc: Luca Kellermann <mailto.luca.kellermann@...il.com>,
	musl@...ts.openwall.com
Subject: Re: musl multi-level table format for binary locale images

* Rich Felker <dalias@...c.org> [2026-05-13 08:28:17 -0400]:
> On Wed, May 13, 2026 at 01:06:56PM +0200, Szabolcs Nagy wrote:
> > yeah this is annoying to do in c, i thought it was fixed in c23,
> 
> I'm not sure how it could be "fixed" unless you mean by defining
> signed overflow for << or in general. Any change in how the types are
> interpreted would be show-stoppingly breaking.

iirc the orig proposal that introduced the requirement of 2's
complement signed int representation had a specific exception
to define 1<<31 same as 0x80000000, so i thought signed << got
a new definition, but i dont see that in c23.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.