提交 c713d879 编写于 作者: R Rich Felker

fix a couple misleading/wrong signal descriptions in strsignal

there are still several more that are misleading, but SIGFPE (integer
division error misdescribed as floating point) and and SIGCHLD
(possibly non-exit status change events described as exiting) were the
worst offenders.
上级 c90fa2ac
...@@ -61,7 +61,7 @@ static const char strings[] = ...@@ -61,7 +61,7 @@ static const char strings[] =
"Trace/breakpoint trap\0" "Trace/breakpoint trap\0"
"Aborted\0" "Aborted\0"
"Bus error\0" "Bus error\0"
"Floating point exception\0" "Arithmetic exception\0"
"Killed\0" "Killed\0"
"User defined signal 1\0" "User defined signal 1\0"
"Segmentation fault\0" "Segmentation fault\0"
...@@ -70,7 +70,7 @@ static const char strings[] = ...@@ -70,7 +70,7 @@ static const char strings[] =
"Alarm clock\0" "Alarm clock\0"
"Terminated\0" "Terminated\0"
"Stack fault\0" "Stack fault\0"
"Child exited\0" "Child process status\0"
"Continued\0" "Continued\0"
"Stopped (signal)\0" "Stopped (signal)\0"
"Stopped\0" "Stopped\0"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册