public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/main] Cygwin: define CHARCLASS_NAME_MAX
@ 2023-03-01 20:23 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2023-03-01 20:23 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=68db1fa7babf9c9c19b36fa4cf4bb747190c0769
commit 68db1fa7babf9c9c19b36fa4cf4bb747190c0769
Author: Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Wed Mar 1 21:20:26 2023 +0100
Commit: Corinna Vinschen <corinna@vinschen.de>
CommitDate: Wed Mar 1 21:22:56 2023 +0100
Cygwin: define CHARCLASS_NAME_MAX
CHARCLASS_NAME_MAX isn't defined yet, accidentally.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/include/limits.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/winsup/cygwin/include/limits.h b/winsup/cygwin/include/limits.h
index 51cc8835d87c..28b7527f5180 100644
--- a/winsup/cygwin/include/limits.h
+++ b/winsup/cygwin/include/limits.h
@@ -375,9 +375,8 @@ details. */
#undef BC_STRING_MAX
#define BC_STRING_MAX 1000
-/* Maximum number of bytes in a character class name. Not implemented. */
-#undef CHARCLASS_NAME_MAX
-/* #define CHARCLASS_NAME_MAX >= _POSIX2_CHARCLASS_NAME_MAX */
+/* Maximum number of bytes in a character class name. */
+#define CHARCLASS_NAME_MAX 14
/* Maximum number of weights that can be assigned to an entry of the
LC_COLLATE order keyword in the locale definition file. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-01 20:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-01 20:23 [newlib-cygwin/main] Cygwin: define CHARCLASS_NAME_MAX 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).