[PATCH] sys/types.h: Avoid bit-manipulation of signed values
Nick Withers
nick.withers@anu.edu.au
Fri Nov 27 13:04:00 GMT 2015
On Fri, 2015-11-27 at 09:03 +0100, Sebastian Huber wrote:
>
> 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.
Righto, thanks Sebastian.
I'm heading off for the weekend, but if I don't hear anything I'll have
a crack at it on Monday.
Have a good one all!
--
Nick Withers
Embedded Systems Programmer
Department of Nuclear Physics, Research School of Physics and Engineering
The Australian National University (CRICOS: 00120C)
More information about the Newlib
mailing list