From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15336 invoked by alias); 4 Jul 2006 11:57:13 -0000 Received: (qmail 15221 invoked by uid 48); 4 Jul 2006 11:57:04 -0000 Date: Tue, 04 Jul 2006 11:57:00 -0000 Message-ID: <20060704115704.15220.qmail@sourceware.org> From: "vda dot linux at googlemail dot com" To: glibc-bugs@sources.redhat.com In-Reply-To: <20040902190535.364.dancasimiro@alum.rpi.edu> References: <20040902190535.364.dancasimiro@alum.rpi.edu> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/364] strerror_r does not copy error string to user supplied buffer X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00008.txt.bz2 List-Id: ------- Additional Comments From vda dot linux at googlemail dot com 2006-07-04 11:57 ------- Because I'm tracking down obscure bug in svn (seemingly), and tracked it down to strerror_r not updating buffer and _not_ returning -1. From: Denis Vlasenko To: Malcolm Rowe Subject: Re: BUG: svn enters unkillable state, tracked down to UTF conv in locale!=C Date: Tue, 4 Jul 2006 13:53:59 +0200 > If your native_strerror() looks like that, you must have STRERROR_R_RC_INT > defined (in APR's include/arch/unix/apr_private.h), which implies you're > using the platform-native C library for either AIX or Tru64 (from the > comments in the above file). > > I thought you were using glibc? What OS are you using? It _is_ glibc 2.4. Looks like glibc people switched to POSIX version of strerror_r. See here: http://sources.redhat.com/bugzilla/show_bug.cgi?id=364 But sometimes it returns >=0, yet buffer is not modified. -- What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | http://sourceware.org/bugzilla/show_bug.cgi?id=364 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.