[PATCH] Chase Newlib sys/select.h changes

Nick Withers nick.withers at anu.edu.au
Thu Dec 10 09:04:54 UTC 2015


Hi all,

Attached is a patch for master similar to that I posted to the Newlib
mailing list in https://sourceware.org/ml/newlib/2015/msg00888.html *.

It chases Newlib changes to sys/types.h / sys/select.h and allows us to
use Newlib's sys/select.h directly rather than rolling our own.

A few notes:
 - I removed the BSD advertising clause from what's now sys/selinfo.h,
but am not sure that I should have
 - I made a few not-really-related but minor changes to
cpukit/libmisc/shell/*.c printf()s to ensure format specifiers matched
parameter types
 - the sys/selinfo.h file doesn't directly correspond to any FreeBSD
revision, though it's basically the same as https://svnweb.freebsd.org/
base/head/sys/sys/selinfo.h?revision=70650&view=markup , not sure how
fussed we are with e.g., $FreeBSD$ tags and such...?

* It doesn't mess with disabling dl tests on PSim; I ran into troubles
with dl02 which I'll look into separately
-- 
Nick Withers

Embedded Systems Programmer
Department of Nuclear Physics, Research School of Physics and Engineering
The Australian National University (CRICOS: 00120C)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sys_select.patch
Type: text/x-patch
Size: 14444 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20151210/466d17a8/attachment-0001.bin>


More information about the devel mailing list