Re: [RFH] NetBSD 6?
- From
- Greg Troxel <gdt@ir.bbn.com>
- Date
- Jan 8, 2013, 19:08 UTC
- Message-ID
- <rmiip774hmx.fsf@fnord.ir.bbn.com>
- In-Reply-To
- <7vy5g3cx9v.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
> Don't get too offended by the "OLD_" prefix to that symbol, by the > way. I do not think "old" means "old and broken hence fixed in > newer version and you are low life if you live on a platform that > has to define it" ;-).
Thanks - it did throw me at the beginning, because I expected that it lead to using a copy of GNU iconv and not using the native one. But it will probably confuse few enough people that changing to CONST_ICONV is not warranted...
> We just needed to have a boolean to tell which variant it is to let > the compiler build objects without complaining, and we named that > switch as OLD_ICONV.
I get that, now that I read utf8.c. It's amusing that git's own function is const, and on non-OLD_ICONV platforms has to cast away the const for standards-compliant iconv.