lfpinit() signed or unsigned?
Eric S. Raymond
esr at thyrsus.com
Thu Mar 9 22:11:54 UTC 2017
Gary E. Miller <gem at rellim.com>:
> Yo Eric!
>
> > > > Would it help to have another signed type?
> > >
> > > The short answer is "no". The longer answer:
> >
> > I'm starting to disagree, I see a need for only a signed type.
> >
> > Too often the unsigned type is then used to compute offsets and the
> > casts get ugly.
>
> Gack... I gotta do a quick U-turn on this. I found some pretty hidden
> assumptions that I did not expect in the code. Assumptions that I will
> document, in the code, for the next poor soul that looks at this.
Good. Keep digging, and learn to be properly terrified. Somebody other
than me should grok this (and know the fear).
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
Please consider contributing to my Patreon page at https://www.patreon.com/esr
so I can keep the invisible wheels of the Internet turning. Give generously -
the civilization you save might be your own.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: not available
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170309/4ff38bee/attachment.bin>
More information about the devel
mailing list