Re: BUG: svn enters unkillable state, tracked down to UTF conv in locale!=C
From: Denis Vlasenko <vda.linux_at_googlemail.com>
Date: 2006-07-04 15:28:38 CEST
On Tuesday 04 July 2006 14:51, Malcolm Rowe wrote:
Something very fishy here...
static char *native_strerror(apr_status_t statcode, char *buf,
The above code works more-or-less okay:
but if I delete "int r = strerror_r(statcode, buf, bufsize); if (r < 0) {"
This is it. We use POSIX prototype, yet somehow link with glibc's strerror_r
# nm errorcodes.o | grep strerror
A small test program
#include <errno.h>
has different symbol referenced, the POSIX one:
# nm t.o | grep strerror
-- vda --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Tue Jul 4 15:30:42 2006 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.