mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +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
1 changed files with 10 additions and 2 deletions
|
@ -29,7 +29,11 @@ Linux Programmer's Manual
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
pub static ALL_SIGNALS: [Signal<'static>; 31] = [
|
pub static ALL_SIGNALS: [Signal<'static>; 32] = [
|
||||||
|
Signal {
|
||||||
|
name: "EXIT",
|
||||||
|
value: 0,
|
||||||
|
},
|
||||||
Signal {
|
Signal {
|
||||||
name: "HUP",
|
name: "HUP",
|
||||||
value: 1,
|
value: 1,
|
||||||
|
@ -198,7 +202,11 @@ No Name Default Action Description
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#[cfg(any(target_vendor = "apple", target_os = "freebsd"))]
|
#[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 {
|
Signal {
|
||||||
name: "HUP",
|
name: "HUP",
|
||||||
value: 1,
|
value: 1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue