skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit 155f489a29ecc7d7b9b66e435739e69f40653562
parent b992db748b9ffe8d88d609950f5da28b5a1db135
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Sun,  8 Nov 2020 09:36:05 +0000

 Add mention of ipc_bind_reuse_lock() to changelog

Diffstat:
MNEWS | 4++++
Mdoc/upgrade.html | 3+++
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS @@ -4,6 +4,10 @@ In 2.9.4.0 ---------- - New openc_* functions. + - New function: ipc_bind_reuse_lock(), taking a lock before +unconditionally deleting the socket. + - ipc_bind_reuse() rewritten to use ipc_bind_reuse_lock(), +so it does the right thing instead of clobbering sockets. In 2.9.3.0 diff --git a/doc/upgrade.html b/doc/upgrade.html @@ -21,6 +21,9 @@ <ul> <li> New <tt>openc_*</tt> functions, which are O_CLOEXEC versions of the <a href="libstddjb/djbunix.html">djbunix.h</a> <tt>open_*</tt> functions. </li> + <li> New <tt>ipc_bind_reuse_lock()</tt> function, which takes a lock before +deleting a Unix domain socket. The <tt>ipc_bind_reuse()</tt> function now +uses it, so it won't unconditionally clobber sockets in the filesystem anymore. </li> </ul> <h2> in 2.9.3.0 </h2>