mirror of
https://github.com/uutils/coreutils
synced 2024-10-07 16:39:26 +00:00
core: add EXIT signal
EXIT is supported by GNU (see 993ca832d2/lib/sig2str.c (L258)
),
so we have to support it too to pass GNU tests.
This commit is contained in:
parent
ed646090c2
commit
ceb5a2998c
|
@ -29,7 +29,11 @@ Linux Programmer's Manual
|
|||
*/
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
pub static ALL_SIGNALS: [Signal<'static>; 31] = [
|
||||
pub static ALL_SIGNALS: [Signal<'static>; 32] = [
|
||||
Signal {
|
||||
name: "EXIT",
|
||||
value: 0,
|
||||
},
|
||||
Signal {
|
||||
name: "HUP",
|
||||
value: 1,
|
||||
|
@ -198,7 +202,11 @@ No Name Default Action Description
|
|||
*/
|
||||
|
||||
#[cfg(any(target_vendor = "apple", target_os = "freebsd"))]
|
||||
pub static ALL_SIGNALS: [Signal<'static>; 31] = [
|
||||
pub static ALL_SIGNALS: [Signal<'static>; 32] = [
|
||||
Signal {
|
||||
name: "EXIT",
|
||||
value: 0,
|
||||
},
|
||||
Signal {
|
||||
name: "HUP",
|
||||
value: 1,
|
||||
|
|
Loading…
Reference in a new issue