mirror of git://gcc.gnu.org/git/gcc.git
bootstrap: Don't use strsignal [PR 98300]
Sadly strsignal is nonportable, so signal numbers it is then. c++tools/ * server.cc (crash_signal): Don't use strsignal.
This commit is contained in:
parent
9f9dbc8e09
commit
b429f53eba
|
@ -213,7 +213,8 @@ static void ATTRIBUTE_NORETURN ATTRIBUTE_COLD
|
||||||
crash_signal (int sig)
|
crash_signal (int sig)
|
||||||
{
|
{
|
||||||
signal (sig, SIG_DFL);
|
signal (sig, SIG_DFL);
|
||||||
internal_error ("signal %s", strsignal (sig));
|
// strsignal is not portable :(
|
||||||
|
internal_error ("signal %d", sig);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* A fatal error of some kind. */
|
/* A fatal error of some kind. */
|
||||||
|
|
Loading…
Reference in New Issue