[PATCH] sys/types.h: Avoid bit-manipulation of signed values

Sebastian Huber sebastian.huber@embedded-brains.de
Fri Nov 27 08:08:00 GMT 2015



On 27/11/15 08:46, Nick Withers wrote:
> On Fri, 2015-11-27 at 08:26 +0100, Sebastian Huber wrote:
>> >
>> >On 26/11/15 10:17, Corinna Vinschen wrote:
>>>>> > > > >Looks good. I need some time to use this in RTEMS, since I am
>>>>> > > > >currently busy
>>>>>>> > > > > > >with other stuff and this is only a nice to have.
>>>>> > > > >
>>>>> > > > >That's ok, I'm pretty busy myself.  Can you ping back as soon
>>>>> > > > >as you
>>>>> > > > >tested this?
>>> > >Did you test this in the meantime?
>> >
>> >Sorry, please don't wait for me. It will be next year before I can
>> >work
>> >on this.
> Is this the kind of thing a humble RTEMS user might be able to figure
> out?
>
> It sounds like I'd have to do some hacking on / remove RTEMS'
> sys/select.h at least?

The goal is to use a Newlib <sys/select.h> that is capable to replace 
these two files:

https://git.rtems.org/rtems/tree/cpukit/libnetworking/sys/select.h
https://git.rtems.org/rtems-libbsd/tree/freebsd/sys/sys/select.h

What complicates the things a bit is that the FreeBSD file uses

https://git.rtems.org/rtems-libbsd/tree/freebsd/sys/sys/_sigset.h

which is used by other header files as well.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the Newlib mailing list