OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2653744
)
merge from gcc
author
dj
<dj>
Thu, 5 Jun 2003 17:03:32 +0000
(17:03 +0000)
committer
dj
<dj>
Thu, 5 Jun 2003 17:03:32 +0000
(17:03 +0000)
libiberty/testsuite/test-demangle.c
patch
|
blob
|
history
diff --git
a/libiberty/testsuite/test-demangle.c
b/libiberty/testsuite/test-demangle.c
index
82f263e
..
6e5d0b4
100644
(file)
--- a/
libiberty/testsuite/test-demangle.c
+++ b/
libiberty/testsuite/test-demangle.c
@@
-65,7
+65,7
@@
getline(buf)
line: copy this line into the buffer and return. */
while (c != EOF && c != '\n')
{
- if (count >= alloc)
+ if (count
+ 1
>= alloc)
{
alloc *= 2;
data = xrealloc (data, alloc);