From 4496f0aa00e81349a91c25539cec2bec46ac977b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 13 Feb 2000 07:23:21 +0000 Subject: [PATCH] (get_symname): Start looking for numeric value at the right position. --- locale/programs/linereader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.2