Return dgs.alc on success
2010-01-09 Ian Lance Taylor <iant@google.com> PR other/42230 * cp-demangle.c (d_demangle): Return dgs.alc on success.
This commit is contained in:
parent
9c744956e3
commit
ffe7cfdf31
|
@ -1,3 +1,8 @@
|
||||||
|
2010-01-09 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
|
PR other/42230
|
||||||
|
* cp-demangle.c (d_demangle): Return dgs.alc on success.
|
||||||
|
|
||||||
2010-01-04 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
2010-01-04 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||||
|
|
||||||
PR target/42316
|
PR target/42316
|
||||||
|
|
|
@ -4777,7 +4777,7 @@ d_demangle (const char *mangled, int options, size_t *palc)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
*palc = dgs.allocation_failure ? 1 : 0;
|
*palc = dgs.allocation_failure ? 1 : dgs.alc;
|
||||||
return dgs.buf;
|
return dgs.buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue