about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-06-20 11:15:21 +0000
committerLaurent Bercot <ska@appnovation.com>2024-06-20 11:15:21 +0000
commit1d941a9afc51fce47c4b2b673184eceb539a80bc (patch)
tree44956b0ed096bd29adc832a215e2962ed3e23079
parenta1b53eda6cd1e6144bdc362d5a4e287dbf19d9fb (diff)
downloadskalibs-1d941a9afc51fce47c4b2b673184eceb539a80bc.tar.gz
skalibs-1d941a9afc51fce47c4b2b673184eceb539a80bc.tar.xz
skalibs-1d941a9afc51fce47c4b2b673184eceb539a80bc.zip
Prepare for 2.4.2.1; align UNIXMESSAGE_MAXFDS to SCM_MAX_FD
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--doc/index.html2
-rw-r--r--doc/license.html2
-rw-r--r--doc/upgrade.html6
-rw-r--r--package/info2
-rw-r--r--src/include/skalibs/unixmessage.h2
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 </li>
 <h3> Download </h3>
 
 <ul>
- <li> The current released version of skalibs is <a href="skalibs-2.14.2.0.tar.gz">2.14.2.0</a>. </li>
+ <li> The current released version of skalibs is <a href="skalibs-2.14.2.1.tar.gz">2.14.2.1</a>. </li>
  <li> Alternatively, you can checkout a copy of the
 <a href="//git.skarnet.org/cgi-bin/cgit.cgi/skalibs/">skalibs
 git repository</a>:
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. </li>
 <p>
  <em>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. :-) </em>
 </p>
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 @@
 <a href="//skarnet.org/">skarnet.org</a>
 </p>
 
+<h2> in 2.14.2.1 </h2>
+
+<ul>
+ <li> <tt>UNIXMESSAGE_MAXFDS</tt> decreased to 253. </li>
+</ul>
+
 <h2> in 2.14.2.0 </h2>
 
 <ul>
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