From 1d941a9afc51fce47c4b2b673184eceb539a80bc Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Thu, 20 Jun 2024 11:15:21 +0000
Subject: Prepare for 2.4.2.1; align UNIXMESSAGE_MAXFDS to SCM_MAX_FD
Signed-off-by: Laurent Bercot
---
doc/index.html | 2 +-
doc/license.html | 2 +-
doc/upgrade.html | 6 ++++++
package/info | 2 +-
src/include/skalibs/unixmessage.h | 2 +-
5 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/doc/index.html b/doc/index.html
index 17e6d21..a4e5773 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -60,7 +60,7 @@ with a standard C development environment
Download
- - The current released version of skalibs is 2.14.2.0.
+ - The current released version of skalibs is 2.14.2.1.
- Alternatively, you can checkout a copy of the
skalibs
git repository:
diff --git a/doc/license.html b/doc/license.html
index 1b77664..ccc9d88 100644
--- a/doc/license.html
+++ b/doc/license.html
@@ -74,7 +74,7 @@ color, or different text font.
I am aware that the previous restrictions sound completely
ridiculous while the official skalibs documentation is incomplete.
-As of 2.14.2.0, I'm not going to enforce those restrictions, but if you're
+As of 2.14.2.1, I'm not going to enforce those restrictions, but if you're
going to provide documentation for skalibs, don't keep it to yourself,
please send it to me instead. :-)
diff --git a/doc/upgrade.html b/doc/upgrade.html
index dc7b334..1ced277 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -16,6 +16,12 @@
skarnet.org
+ in 2.14.2.1
+
+
+ - UNIXMESSAGE_MAXFDS decreased to 253.
+
+
in 2.14.2.0
diff --git a/package/info b/package/info
index 45b2eb0..89f88b4 100644
--- a/package/info
+++ b/package/info
@@ -1,4 +1,4 @@
package=skalibs
-version=2.14.2.0
+version=2.14.2.1
category=prog
package_macro_name=SKALIBS
diff --git a/src/include/skalibs/unixmessage.h b/src/include/skalibs/unixmessage.h
index 4ea6342..f780f41 100644
--- a/src/include/skalibs/unixmessage.h
+++ b/src/include/skalibs/unixmessage.h
@@ -41,7 +41,7 @@ struct unixmessagev_s
extern unixmessagev const unixmessagev_zero ;
#define UNIXMESSAGE_MAXSIZE (1U << 28)
-#define UNIXMESSAGE_MAXFDS 255
+#define UNIXMESSAGE_MAXFDS 253
#define UNIXMESSAGE_BUFSIZE 2048
#define UNIXMESSAGE_AUXBUFSIZE (sizeof(int) * UNIXMESSAGE_MAXFDS + 1)
#define UNIXMESSAGE_MAXREADS 128
--
cgit v1.2.3