diff options
-rw-r--r-- | doc/index.html | 2 | ||||
-rw-r--r-- | doc/upgrade.html | 6 | ||||
-rw-r--r-- | package/info | 2 | ||||
-rw-r--r-- | src/include/skalibs/djbunix.h | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/doc/index.html b/doc/index.html index 117d9f0..f17f970 100644 --- a/doc/index.html +++ b/doc/index.html @@ -59,7 +59,7 @@ with a standard C development environment </li> <h3> Download </h3> <ul> - <li> The current released version of skalibs is <a href="skalibs-2.3.0.0.tar.gz">2.3.0.0</a>. </li> + <li> The current released version of skalibs is <a href="skalibs-2.3.0.1.tar.gz">2.3.0.1</a>. </li> <li> Alternatively, you can checkout a copy of the skalibs git repository: <pre> git clone git://git.skarnet.org/skalibs </pre> </li> </ul> diff --git a/doc/upgrade.html b/doc/upgrade.html index 8f819c7..f30a856 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -17,6 +17,12 @@ <h1> What has changed in skalibs </h1> +<h2> in 2.3.0.1 </h2> + +<ul> + <li> wait_status() now returns 256 (instead of 126) when WIFSIGNALED(). </li> +</ul> + <h2> in 2.3.0.0 </h2> <ul> diff --git a/package/info b/package/info index c9735fd..f4cf2b8 100644 --- a/package/info +++ b/package/info @@ -1,4 +1,4 @@ package=skalibs -version=2.3.0.0 +version=2.3.0.1 category=prog package_macro_name=SKALIBS diff --git a/src/include/skalibs/djbunix.h b/src/include/skalibs/djbunix.h index 387e05a..765fb3b 100644 --- a/src/include/skalibs/djbunix.h +++ b/src/include/skalibs/djbunix.h @@ -83,7 +83,7 @@ extern pid_t waitpid_nointr (pid_t, int *, int) ; #define wait_nohang(wstat) waitpid_nointr(-1, (wstat), WNOHANG) extern pid_t wait_pid_nohang (pid_t, int *) ; extern int wait_pids_nohang (pid_t const *, unsigned int, int *) ; -#define wait_status(w) (WIFSIGNALED(w) ? 126 : WEXITSTATUS(w)) +#define wait_status(w) (WIFSIGNALED(w) ? 256 : WEXITSTATUS(w)) extern unsigned int wait_reap (void) ; extern int waitn (pid_t *, unsigned int) ; extern int waitn_reap (pid_t *, unsigned int) ; |