projects
/
platform
/
upstream
/
bison.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01cfa69
)
(quotearg_buffer_restyled): Fix off-by-two bug in trigraph handling.
author
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 3 Nov 2002 07:03:53 +0000
(07:03 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 3 Nov 2002 07:03:53 +0000
(07:03 +0000)
lib/quotearg.c
patch
|
blob
|
history
diff --git
a/lib/quotearg.c
b/lib/quotearg.c
index
79929e7
..
750426c
100644
(file)
--- a/
lib/quotearg.c
+++ b/
lib/quotearg.c
@@
-330,8
+330,8
@@
quotearg_buffer_restyled (char *buffer, size_t buffersize,
case '<': case '=': case '>':
/* Escape the second '?' in what would otherwise be
a trigraph. */
- i += 2;
c = arg[i + 2];
+ i += 2;
STORE ('?');
STORE ('\\');
STORE ('?');