mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08: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);
|
||||
++last;
|
||||
|
||||
iov[last].iov_base = (void *) ")";
|
||||
iov[last].iov_len = 1;
|
||||
iov[last].iov_base = (void *) ") ";
|
||||
iov[last].iov_len = 2;
|
||||
++last;
|
||||
}
|
||||
else
|
||||
{
|
||||
iov[last].iov_base = (void *) "() ";
|
||||
iov[last].iov_len = 3;
|
||||
++last;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user