mirror of git://sourceware.org/git/glibc.git
Unify psiginfo output.
This commit is contained in:
parent
67a67b950b
commit
af3259695d
|
|
@ -1,3 +1,9 @@
|
||||||
|
2010-10-11 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
|
[BZ #12108]
|
||||||
|
* stdio-common/psiginfo.c (psiginfo): Terminate all strings with
|
||||||
|
newline.
|
||||||
|
|
||||||
2010-10-06 Ulrich Drepper <drepper@gmail.com>
|
2010-10-06 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
* string/bug-strstr1.c: New file.
|
* string/bug-strstr1.c: New file.
|
||||||
|
|
|
||||||
4
NEWS
4
NEWS
|
|
@ -1,4 +1,4 @@
|
||||||
GNU C Library NEWS -- history of user-visible changes. 2010-10-3
|
GNU C Library NEWS -- history of user-visible changes. 2010-10-11
|
||||||
Copyright (C) 1992-2009, 2010 Free Software Foundation, Inc.
|
Copyright (C) 1992-2009, 2010 Free Software Foundation, Inc.
|
||||||
See the end for copying conditions.
|
See the end for copying conditions.
|
||||||
|
|
||||||
|
|
@ -10,7 +10,7 @@ Version 2.13
|
||||||
* The following bugs are resolved with this release:
|
* The following bugs are resolved with this release:
|
||||||
|
|
||||||
7066, 10851, 11611, 11640, 11701, 11840, 11856, 11883, 11903, 11904,
|
7066, 10851, 11611, 11640, 11701, 11840, 11856, 11883, 11903, 11904,
|
||||||
11968, 11979, 12005, 12037, 12067, 12077
|
11968, 11979, 12005, 12037, 12067, 12077, 12092, 12108
|
||||||
|
|
||||||
* New Linux interfaces: prlimit, prlimit64, fanotify_init, fanotify_mark
|
* New Linux interfaces: prlimit, prlimit64, fanotify_init, fanotify_mark
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 2009 Free Software Foundation, Inc.
|
/* Copyright (C) 2009, 2010 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
|
@ -165,14 +165,15 @@ Signal generated by the completion of an I/O request");
|
||||||
|
|
||||||
if (pinfo->si_signo == SIGILL || pinfo->si_signo == SIGFPE
|
if (pinfo->si_signo == SIGILL || pinfo->si_signo == SIGFPE
|
||||||
|| pinfo->si_signo == SIGSEGV || pinfo->si_signo == SIGBUS)
|
|| pinfo->si_signo == SIGSEGV || pinfo->si_signo == SIGBUS)
|
||||||
fprintf (fp, "[%p])", pinfo->si_addr);
|
fprintf (fp, "[%p])\n", pinfo->si_addr);
|
||||||
else if (pinfo->si_signo == SIGCHLD)
|
else if (pinfo->si_signo == SIGCHLD)
|
||||||
fprintf (fp, "%ld %d %ld)", (long int) pinfo->si_pid, pinfo->si_status,
|
fprintf (fp, "%ld %d %ld)\n",
|
||||||
|
(long int) pinfo->si_pid, pinfo->si_status,
|
||||||
(long int) pinfo->si_uid);
|
(long int) pinfo->si_uid);
|
||||||
else if (pinfo->si_signo == SIGPOLL)
|
else if (pinfo->si_signo == SIGPOLL)
|
||||||
fprintf (fp, "%ld)", (long int) pinfo->si_band);
|
fprintf (fp, "%ld)\n", (long int) pinfo->si_band);
|
||||||
else
|
else
|
||||||
fprintf (fp, "%ld %ld)",
|
fprintf (fp, "%ld %ld)\n",
|
||||||
(long int) pinfo->si_pid, (long int) pinfo->si_uid);
|
(long int) pinfo->si_pid, (long int) pinfo->si_uid);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue