public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Joel Sherrill <joel@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin/main] RTEMS: Increase FS_SETSIZE to 256 bits
Date: Wed, 13 Mar 2024 13:59:34 +0000 (GMT)	[thread overview]
Message-ID: <20240313135934.A17E03858C3A@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8d38c37ed9356e8f26e803fcf28e7592799c870a

commit 8d38c37ed9356e8f26e803fcf28e7592799c870a
Author: Chris Johns <chrisj@rtems.org>
Date:   Tue Feb 20 11:46:05 2024 +1100

    RTEMS: Increase FS_SETSIZE to 256 bits

Diff:
---
 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

                 reply	other threads:[~2024-03-13 13:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240313135934.A17E03858C3A@sourceware.org \
    --to=joel@sourceware.org \
    --cc=newlib-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).