mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-10 19:30:10 +00:00
* stdio-common/psignal.c (psignal): Don't use BUF when asprintf
failed.
This commit is contained in:
parent
e1ad4c533a
commit
6d00189e10
@ -1,3 +1,8 @@
|
|||||||
|
2004-06-14 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
* stdio-common/psignal.c (psignal): Don't use BUF when asprintf
|
||||||
|
failed.
|
||||||
|
|
||||||
2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
|
2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
|
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
|
||||||
|
@ -64,12 +64,14 @@ psignal (int sig, const char *s)
|
|||||||
else
|
else
|
||||||
(void) fprintf (stderr, "%s%s%s\n", s, colon, _("Unknown signal"));
|
(void) fprintf (stderr, "%s%s%s\n", s, colon, _("Unknown signal"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_IO_fwide (stderr, 0) > 0)
|
|
||||||
(void) __fwprintf (stderr, L"%s", buf);
|
|
||||||
else
|
else
|
||||||
(void) fputs (buf, stderr);
|
{
|
||||||
|
if (_IO_fwide (stderr, 0) > 0)
|
||||||
|
(void) __fwprintf (stderr, L"%s", buf);
|
||||||
|
else
|
||||||
|
(void) fputs (buf, stderr);
|
||||||
|
|
||||||
free (buf);
|
free (buf);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user