Fix a couple of bugs around the handling of structs and unions of size zero.
authormarkj <markj@FreeBSD.org>
Sun, 16 Nov 2014 04:07:53 +0000 (04:07 +0000)
committermarkj <markj@FreeBSD.org>
Sun, 16 Nov 2014 04:07:53 +0000 (04:07 +0000)
commitcf680a80e86f94a7c5c40aea2c8ffc1b8a5581b7
tree41bc8faab0629b85016d8839849b87609fccf48e
parent39fa4746e5349aa73a6e35b24f10161f05b192df
Fix a couple of bugs around the handling of structs and unions of size zero.
These would cause ctfconvert(1) to return an error when attempting to
resolve valid C types.

Reviewed by: Robert Mustacchi <rm@joyent.com>
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c