This is the mail archive of the
mailing list for the GCC project.
Re: libcpp/charset: close out shift states
>>>>> "DJ" == DJ Delorie <firstname.lastname@example.org> writes:
DJ> How about this? I pulled some common code out into a macro, because I
DJ> didn't know how portable it would be to call iconv with inbytesleft==0
Looks good to me, thanks.
If you want to address Mike Meissner's point, that is also fine by me.
IMO it doesn't matter hugely for local macros like this one, but a
little extra defense doesn't hurt.