public inbox for cygwin-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: devices: drop MAX_CONSOLES and fix FH_CONS_MAX Date: Mon, 04 Nov 2019 09:36:00 -0000 [thread overview] Message-ID: <20191104093604.31164.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=7a26e19d4f43f71b4f6940ef9219589d7d5e7c05 commit 7a26e19d4f43f71b4f6940ef9219589d7d5e7c05 Author: Corinna Vinschen <corinna@vinschen.de> Date: Mon Nov 4 10:34:14 2019 +0100 Cygwin: devices: drop MAX_CONSOLES and fix FH_CONS_MAX FH_CONS_MAX should refelect the fact that we allow 128 consoles, even if it's unused. Suggested-by: Achim Gratz <Stromeko@nexgo.de> Signed-off-by: Corinna Vinschen <corinna@vinschen.de> Diff: --- winsup/cygwin/devices.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/winsup/cygwin/devices.h b/winsup/cygwin/devices.h index 47156f2..5a077c2 100644 --- a/winsup/cygwin/devices.h +++ b/winsup/cygwin/devices.h @@ -19,7 +19,6 @@ typedef unsigned short _minor_t; #include <dirent.h> #include "cygheap_malloc.h" -#define MAX_CONSOLES 63 enum fh_devices { DEV_TTY_MAJOR = 5, @@ -31,7 +30,7 @@ enum fh_devices DEV_CONS_MAJOR = 3, FH_CONS = FHDEV (DEV_CONS_MAJOR, 0), - FH_CONS_MAX = FHDEV (DEV_CONS_MAJOR, MAX_CONSOLES), + FH_CONS_MAX = FHDEV (DEV_CONS_MAJOR, 127), DEV_PTYM_MAJOR = 128, FH_PTYM = FHDEV (DEV_PTYM_MAJOR, 0),
reply other threads:[~2019-11-04 9:36 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=20191104093604.31164.qmail@sourceware.org \ --to=corinna@sourceware.org \ --cc=cygwin-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: linkBe 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).