This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libcpp/charset: close out shift states


>>>>> "DJ" == DJ Delorie <dj@redhat.com> 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.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]