Skip to content

Commit

Permalink
Fix typo in signals.rs (#5781)
Browse files Browse the repository at this point in the history
* Fix typo in signals.rs

occured -> occurred

* Remove "occurred" from spell-checker:ignore

---------

Co-authored-by: Daniel Hofstetter <[email protected]>
  • Loading branch information
eltociear and cakebaker authored Jan 5, 2024
1 parent 9b3cc54 commit 9dca071
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/uucore/src/lib/features/signals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

// spell-checker:ignore (vars/api) fcntl setrlimit setitimer rubout pollable occured sysconf
// spell-checker:ignore (vars/api) fcntl setrlimit setitimer rubout pollable sysconf
// spell-checker:ignore (vars/signals) ABRT ALRM CHLD SEGV SIGABRT SIGALRM SIGBUS SIGCHLD SIGCONT SIGEMT SIGFPE SIGHUP SIGILL SIGINFO SIGINT SIGIO SIGIOT SIGKILL SIGPIPE SIGPROF SIGPWR SIGQUIT SIGSEGV SIGSTOP SIGSYS SIGTERM SIGTRAP SIGTSTP SIGTHR SIGTTIN SIGTTOU SIGURG SIGUSR SIGVTALRM SIGWINCH SIGXCPU SIGXFSZ STKFLT PWR THR TSTP TTIN TTOU VTALRM XCPU XFSZ SIGCLD SIGPOLL SIGWAITING SIGAIOCANCEL SIGLWP SIGFREEZE SIGTHAW SIGCANCEL SIGLOST SIGXRES SIGJVM SIGRTMIN SIGRT SIGRTMAX AIOCANCEL XRES RTMIN RTMAX
#[cfg(unix)]
use nix::errno::Errno;
Expand Down Expand Up @@ -207,7 +207,7 @@ pub static ALL_SIGNALS: [&str; 33] = [
SIGPWR 19 power-fail restart
SIGWINCH 20 window size change
SIGURG 21 urgent socket condition
SIGPOLL 22 pollable event occured
SIGPOLL 22 pollable event occurred
SIGIO SIGPOLL socket I/O possible (SIGPOLL alias)
SIGSTOP 23 stop (cannot be caught or ignored)
SIGTSTP 24 user stop requested from tty
Expand Down

0 comments on commit 9dca071

Please sign in to comment.