diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-01-01 12:07:54 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-01-01 12:07:54 +0000 |
| commit | 2631aaccbc57388450403520e585d4440fec10fc (patch) | |
| tree | d9c70dd3895fd04d80897ca587e8c1ef4bb56ede | |
| parent | 8cabc449368ba128ba1580e2f8f0435c2397a533 (diff) | |
| download | execline-2631aaccbc57388450403520e585d4440fec10fc.tar.gz | |
Prepare for 2.9.8.1; signal handlers must save/restore errno
| -rw-r--r-- | COPYING | 2 | ||||
| -rw-r--r-- | INSTALL | 2 | ||||
| -rw-r--r-- | NEWS | 6 | ||||
| -rw-r--r-- | doc/index.html | 6 | ||||
| -rw-r--r-- | doc/upgrade.html | 7 | ||||
| -rw-r--r-- | package/info | 2 | ||||
| -rw-r--r-- | src/libexecline/el_forx_pidinfo.c | 4 |
7 files changed, 23 insertions, 6 deletions
@@ -1,4 +1,4 @@ -Copyright (c) 2011-2025 Laurent Bercot <ska-skaware@skarnet.org> +Copyright (c) 2011-2026 Laurent Bercot <ska-skaware@skarnet.org> Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -6,7 +6,7 @@ Build Instructions - A POSIX-compliant C development environment - GNU make version 3.81 or later - - skalibs version 2.14.5.0 or later: https://skarnet.org/software/skalibs/ + - skalibs version 2.14.5.1 or later: https://skarnet.org/software/skalibs/ - Optional: nsss version 0.2.1.1 or later: https://skarnet.org/software/nsss/ This software will run on any operating system that implements @@ -1,5 +1,11 @@ Changelog for execline. +In 2.9.8.1 +---------- + + - Bugfixes. + + In 2.9.8.0 ---------- diff --git a/doc/index.html b/doc/index.html index 3c73dd0..2028667 100644 --- a/doc/index.html +++ b/doc/index.html @@ -51,7 +51,7 @@ shell's syntax, and has no security issues. <li> A POSIX-compliant system with a standard C development environment </li> <li> GNU make, version 3.81 or later. </li> <li> <a href="//skarnet.org/software/skalibs/">skalibs</a> version -2.14.5.0 or later. It's a build-time requirement. It's also a run-time +2.14.5.1 or later. It's a build-time requirement. It's also a run-time requirement if you link against the shared version of the skalibs library. </li> </ul> @@ -77,8 +77,8 @@ want nsswitch-like functionality: <h3> Download </h3> <ul> - <li> The current released version of execline is <a href="execline-2.9.8.0.tar.gz">2.9.8.0</a>. -You can access its checksum <a href="execline-2.9.8.0.tar.gz.sha256">here</a>. </li> + <li> The current released version of execline is <a href="execline-2.9.8.1.tar.gz">2.9.8.1</a>. +You can access its checksum <a href="execline-2.9.8.1.tar.gz.sha256">here</a>. </li> <li> Alternatively, you can checkout a copy of the <a href="//git.skarnet.org/cgi-bin/cgit.cgi/execline/">execline git repository</a>: diff --git a/doc/upgrade.html b/doc/upgrade.html index fbb7cc4..712f1f5 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -18,6 +18,13 @@ <h1> What has changed in execline </h1> +<h2> in 2.9.8.1 </h2> + +<ul> + <li> <a href="//skarnet.org/software/skalibs/">skalibs</a> +dependency bumped to 2.14.5.1. </li> +</ul> + <h2> in 2.9.8.0 </h2> <ul> diff --git a/package/info b/package/info index 1a386b2..9d4e42d 100644 --- a/package/info +++ b/package/info @@ -1,4 +1,4 @@ package=execline -version=2.9.8.0 +version=2.9.8.1 category=admin package_macro_name=EXECLINE diff --git a/src/libexecline/el_forx_pidinfo.c b/src/libexecline/el_forx_pidinfo.c index 61c5a26..8bd12bb 100644 --- a/src/libexecline/el_forx_pidinfo.c +++ b/src/libexecline/el_forx_pidinfo.c @@ -1,5 +1,7 @@ /* ISC license. */ +#include <errno.h> + #include <skalibs/djbunix.h> #include <execline/execline.h> @@ -15,11 +17,13 @@ int el_forx_isok (unsigned short const *tab, unsigned int n, unsigned short code void el_forx_sigchld_handler (int sig) { + int e = errno ; for (;;) { ssize_t r = wait_pids_nohang(el_forx_pidinfo->tab, el_forx_pidinfo->len, &el_forx_pidinfo->wstat) ; if (r <= 0) break ; el_forx_pidinfo->tab[r-1] = el_forx_pidinfo->tab[--el_forx_pidinfo->len] ; } + errno = e ; (void)sig ; } |
