From: Ulrich Drepper Date: Sun, 13 Feb 2000 07:23:21 +0000 (+0000) Subject: (get_symname): Start looking for numeric value at the right position. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4496f0aa00e81349a91c25539cec2bec46ac977b;p=thirdparty%2Fglibc.git (get_symname): Start looking for numeric value at the right position. --- diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c index 31278d63c27..f036480d1e3 100644 --- a/locale/programs/linereader.c +++ b/locale/programs/linereader.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. @@ -400,7 +400,7 @@ get_symname (struct linereader *lr) { /* Yes, it is. */ lr->token.tok = bufact == 6 ? tok_ucs2 : tok_ucs4; - lr->token.val.charcode.val = strtoul (buf, NULL, 16); + lr->token.val.charcode.val = strtoul (buf + 1, NULL, 16); lr->token.val.charcode.nbytes = lr->token.tok == tok_ucs2 ? 2 : 4; return &lr->token;