mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
Unify output from backtrace_symbols_fd with backtrace_symbols (bug 31730)
This commit is contained in:
parent
a07e000e82
commit
ec6ed525f1
@ -95,8 +95,14 @@ __backtrace_symbols_fd (void *const *array, int size, int fd)
|
|||||||
- (char *) iov[last].iov_base);
|
- (char *) iov[last].iov_base);
|
||||||
++last;
|
++last;
|
||||||
|
|
||||||
iov[last].iov_base = (void *) ")";
|
iov[last].iov_base = (void *) ") ";
|
||||||
iov[last].iov_len = 1;
|
iov[last].iov_len = 2;
|
||||||
|
++last;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
iov[last].iov_base = (void *) "() ";
|
||||||
|
iov[last].iov_len = 3;
|
||||||
++last;
|
++last;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user