projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d32ffbe
)
(get_toplvl_escape): Recognize more than 4 bytes in escape sequence.
author
Ulrich Drepper
<drepper@redhat.com>
Wed, 6 Dec 2000 02:40:40 +0000
(
02:40
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Wed, 6 Dec 2000 02:40:40 +0000
(
02:40
+0000)
locale/programs/linereader.c
patch
|
blob
|
history
diff --git
a/locale/programs/linereader.c
b/locale/programs/linereader.c
index
4be3701
..
01f5c9d
100644
(file)
--- a/
locale/programs/linereader.c
+++ b/
locale/programs/linereader.c
@@
-376,7
+376,8
@@
get_toplvl_escape (struct linereader *lr)
bytes[nbytes++] = byte;
}
- while (ch == lr->escape_char && nbytes < 4);
+ while (ch == lr->escape_char
+ && nbytes < sizeof (lr->token.val.charcode.bytes));
if (!isspace (ch))
lr_error (lr, _("garbage at end of character code specification"));