mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 12:11:10 +00:00
* locale/programs/linereader.c (get_symname): Fix adding final NUL.
(get_ident): Likewise.
This commit is contained in:
parent
42808a34eb
commit
b16dba4c52
@ -1,3 +1,8 @@
|
||||
2007-05-04 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* locale/programs/linereader.c (get_symname): Fix adding final NUL.
|
||||
(get_ident): Likewise.
|
||||
|
||||
2007-05-03 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT
|
||||
|
@ -523,8 +523,8 @@ get_symname (struct linereader *lr)
|
||||
{
|
||||
lr->token.tok = tok_bsymbol;
|
||||
|
||||
buf[bufact] = '\0';
|
||||
buf = xrealloc (buf, bufact + 1);
|
||||
buf[bufact] = '\0';
|
||||
|
||||
lr->token.val.str.startmb = buf;
|
||||
lr->token.val.str.lenmb = bufact - 1;
|
||||
@ -576,8 +576,8 @@ get_ident (struct linereader *lr)
|
||||
{
|
||||
lr->token.tok = tok_ident;
|
||||
|
||||
buf[bufact] = '\0';
|
||||
buf = xrealloc (buf, bufact + 1);
|
||||
buf[bufact] = '\0';
|
||||
|
||||
lr->token.val.str.startmb = buf;
|
||||
lr->token.val.str.lenmb = bufact;
|
||||
|
Loading…
Reference in New Issue
Block a user