mirror of
git://sourceware.org/git/glibc.git
synced 2026-10-02 23:50:01 +08:00
Update.
* timezone/antarctica: Update from tzdata2001a. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/backward: Likewise. * timezone/etcetera: Likewise. * timezone/europe: Likewise. * timezone/leapseconds: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. * timezone/systemv: Likewise. * timezone/yearistype: Likewise. * timezone/zone.tab: Likewise. * timezone/tzdump.c: Update from tzcode2001a. 2001-03-15 H.J. Lu <hjl@gnu.org> * intl/Makefile: Fix a typo. 2001-03-14 David Mosberger <davidm@hpl.hp.com> * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when writing arc structures. 2001-03-15 H.J. Lu <hjl@gnu.org> * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against cross-compiling. 2001-03-13 Andreas Schwab <schwab@suse.de> * posix/PTESTS2C.sed: Replace literal CRs by `\r'. 2001-03-15 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test for control message fitting into message data. Patch by James Antill <james@and.org>.
This commit is contained in:
+12
-4
@@ -235,10 +235,18 @@ write_call_graph (fd)
|
||||
to_index != 0;
|
||||
to_index = _gmonparam.tos[to_index].link)
|
||||
{
|
||||
*(char **) raw_arc[nfilled].from_pc = (char *) frompc;
|
||||
*(char **) raw_arc[nfilled].self_pc =
|
||||
(char *)_gmonparam.tos[to_index].selfpc;
|
||||
*(int *) raw_arc[nfilled].count = _gmonparam.tos[to_index].count;
|
||||
struct arc
|
||||
{
|
||||
char *frompc;
|
||||
char *selfpc;
|
||||
int32_t count;
|
||||
}
|
||||
arc;
|
||||
|
||||
arc.frompc = (char *) frompc;
|
||||
arc.selfpc = (char *) _gmonparam.tos[to_index].selfpc;
|
||||
arc.count = _gmonparam.tos[to_index].count;
|
||||
memcpy (raw_arc + nfilled, &arc, sizeof (raw_arc [0]));
|
||||
|
||||
if (++nfilled == NARCS_PER_WRITEV)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user