From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7815 invoked by alias); 16 Oct 2014 21:52:45 -0000 Mailing-List: contact src-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: src-cvs-owner@sourceware.org Received: (qmail 7790 invoked by uid 9190); 16 Oct 2014 21:52:44 -0000 Date: Thu, 16 Oct 2014 21:52:00 -0000 Message-ID: <20141016215242.7759.qmail@sourceware.org> From: brobecke@sourceware.org To: src-cvs@sourceware.org Subject: gdb and binutils branch master updated. 5af04e20f6333dc224d1668dcd433d7c8ca84e71 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 89c7137fad41711072e2a15ce539e2ad293bd065 X-Git-Newrev: 5af04e20f6333dc224d1668dcd433d7c8ca84e71 X-SW-Source: 2014-q4/txt/msg00012.txt.bz2 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch, master has been updated via 5af04e20f6333dc224d1668dcd433d7c8ca84e71 (commit) from 89c7137fad41711072e2a15ce539e2ad293bd065 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5af04e20f6333dc224d1668dcd433d7c8ca84e71 commit 5af04e20f6333dc224d1668dcd433d7c8ca84e71 Author: Joel Brobecker Date: Tue Oct 14 12:47:43 2014 -0400 Use strtod instead of strtold in libiberty/d-demangle.c strtold is currently used to decode templates which have a floating-point value encoded inside; but this routine is not available on some systems, such as Solaris 2.9 for instance. This patch fixes the issue by replace the use of strtold by strtod. It reduces a bit the precision, but it should still remain acceptable in most cases. libiberty/ChangeLog: * d-demangle.c: Replace strtold with strtod in global comment. (strtold): Remove declaration. (strtod): New declaration. (dlang_parse_real): Declare value as double instead of long double. Replace call to strtold by call to strtod. Update format in call to snprintf. ----------------------------------------------------------------------- Summary of changes: libiberty/ChangeLog | 9 +++++++++ libiberty/d-demangle.c | 10 +++++----- 2 files changed, 14 insertions(+), 5 deletions(-) hooks/post-receive -- gdb and binutils