* cplus-dem.c (consume_count): If `count' wraps, return 0 and
commit6fd618e715266aa7783ff74ac1ae198bb029c8da
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Mar 1999 16:12:25 +0000 (30 16:12 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Mar 1999 16:12:25 +0000 (30 16:12 +0000)
treefa04c5473f236523e039d0d8d90c7adbb9397355
parent5728af7d874a156e27b994afda6a7d552af56f22
* cplus-dem.c (consume_count): If `count' wraps, return 0 and
don't advance input pointer.
(demangle_class_name): If consume_count didn't find a count, do
nothing.  Don't bother with `strlen' sanity check; consume_count
does it for us.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26068 138bc75d-0d04-0410-961f-82ee72b054a4
libiberty/ChangeLog
libiberty/cplus-dem.c