public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* Include FD_SETSIZE on RTEMS to 256
@ 2024-02-28 23:02 Joel Sherrill
  2024-02-29  6:29 ` Sebastian Huber
  2024-03-13 14:21 ` Jon Turney
  0 siblings, 2 replies; 12+ messages in thread
From: Joel Sherrill @ 2024-02-28 23:02 UTC (permalink / raw)
  To: Newlib, Chris Johns


[-- Attachment #1.1: Type: text/plain, Size: 105 bytes --]

Hi

The attached patch changes FD_SETSIZE from 64 to 256 for RTEMS.

Is it OK to apply?

Thanks.

--joel

[-- Attachment #2: 0001-RTEMS-Increase-FS_SETSIZE-to-256-bits.patch --]
[-- Type: application/octet-stream, Size: 690 bytes --]

From 081fc6c8e64568cef8bcd9c254e72cbfb8de1a2d Mon Sep 17 00:00:00 2001
From: Chris Johns <chrisj@rtems.org>
Date: Tue, 20 Feb 2024 11:46:05 +1100
Subject: [PATCH] RTEMS: Increase FS_SETSIZE to 256 bits

---
 newlib/libc/include/sys/select.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/newlib/libc/include/sys/select.h b/newlib/libc/include/sys/select.h
index 93d0b79bf..8b5675640 100644
--- a/newlib/libc/include/sys/select.h
+++ b/newlib/libc/include/sys/select.h
@@ -30,6 +30,8 @@ typedef	__sigset_t	sigset_t;
 #ifndef FD_SETSIZE
 # ifdef __CYGWIN__
 #  define FD_SETSIZE	1024
+# elifdef __rtems__
+#  define FD_SETSIZE	256
 # else
 #  define FD_SETSIZE	64
 # endif
-- 
2.42.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-03-13 17:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-28 23:02 Include FD_SETSIZE on RTEMS to 256 Joel Sherrill
2024-02-29  6:29 ` Sebastian Huber
2024-02-29  6:31   ` Sebastian Huber
2024-02-29 14:24     ` Joel Sherrill
2024-03-11 14:50       ` Joel Sherrill
2024-03-12 17:13         ` Corinna Vinschen
2024-03-13 14:21 ` Jon Turney
2024-03-13 14:35   ` Joel Sherrill
2024-03-13 15:02     ` Corinna Vinschen
2024-03-13 16:03       ` Joel Sherrill
2024-03-13 16:33         ` Joel Sherrill
2024-03-13 17:06           ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).