On Monday 21 February 2005 12:29, Hrvoje Niksic wrote:

> >> string_t.c uses the function iswblank, which doesn't seem to exist

> Please don't do that.  Interface and behavior of iconv change tends to
> vary greatly between systems and their versions.  Also, "wide
> character" support is still missing or (worse) broken on many systems
> and compilers.

Hello Hrvoje,

I think by pushing this line of reasoning to the extreme you shouldn't have 
added i18n through gettext, should you?  
But you did, because _() is just a macro and you're free to make it 
transparent just adding one configure option.

I think this is how iconv and widechars can be safely introduced into wget, 
that is, by superimposing some piece of code that only gets compiled where it 
can be (and if not disabled by configure option) and making it so that when 
this piece code is not included you get the exact same old one.

If Mauro can work it this way I don't think this would harm portability.

/Simone

-- 
Adde parvum parvo magnus acervus erit -- Ovidio

Reply via email to