Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 06 Apr 2014 00:08:23 +0200
From: Jens Gustedt <>
Subject: Re: build with clang-3.4 warnings report

Am Samstag, den 05.04.2014, 12:35 -0400 schrieb Rich Felker:
> I'd be interested in seeing what you mean by some of these, but note
> that these are all +'s and don't seem to have any concrete advantages
> over the current code.

I attach the cleanest and simplest version. (forget about the handling
of the historic mips case, if you don't like it)

> I was talking about the approach with designated initializers, which I
> assumed would look something like:
> {
> 	[EBADF] = "Bad file descriptor",
> 	[EILSEQ] = "Illegal sequence",
> 	...
> }

sorry I wasn't clear enough, yes the one you had in mind would need an
array of pointers, instead of "unsigned char".

I was thinking of using designated initializers to compute offsets. In
the example that is joint, the main change in size is due to the
change from "unsigned char" to "unsigned short" for the table and
because there are some holes. (+200)

When placing the default entry in front instead of last, this shaves
of about 50, again. (so +150 in total)


:: INRIA Nancy Grand Est ::   ::
:: AlGorille ::::::::::::::: office Nancy : +33 383593090   ::
:: ICube :::::::::::::: office Strasbourg : +33 368854536   ::
:: ::::::::::::::::::::::::::: gsm France : +33 651400183   ::
:: :::::::::::::::::::: gsm international : +49 15737185122 ::

View attachment "strerror.c" of type "text/x-csrc" (1242 bytes)

Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)

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.