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

Corinna Vinschen vinschen@redhat.com
Mon Dec 7 07:11:00 GMT 2015


Hi Nick,

On Dec  3 18:45, Nick Withers wrote:
> Hi all,
> 
> On Fri, 2015-11-27 at 14:04 +0100, Corinna Vinschen wrote:
> > On Nov 27 19:08, Nick Withers wrote:
> >[...]
> > The first thing would be to check if sys/select.h from Cygwin is
> > sufficent for RTEMS as well, provided you apply my patch from
> > https://sourceware.org/ml/newlib/2015/msg00832.html and move the
> > resulting winsup/cygwin/include/sys/select.h to
> > newlib/libc/include/sys.
> > 
> > If that works fine, I apply my patch.
> 
> I haven't yet tackled the rtems-libbsd part Sebastian mentioned, but
> have made some progress.
> 
> With the attached newlib-sys_select.patch* and rtems-sys_select.patch**
> patches applied to Newlib and RTEMS Git masters respectively, the RTEMS
> tests "syscall01" and "psxreaddir" seem to pass through PSim (psim
> -syscall01.out and psxreaddir.out).
> 
> 
> How do folk feel about this so far?

The additon for arm is fine so from the newlib side it looks good to go.

Sebastian?  Joel?


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20151207/2717f2f5/attachment.sig>


More information about the Newlib mailing list