[erlang-patches] [erlang-bugs] R16A: Small inconvenience with Unicode strings in the shell

Anthony Ramine <>
Mon Feb 11 11:58:41 CET 2013


Hi,

There is no wcwidth() in Windows, I'll add some autoconf magic to conditionally
use it.

-- 
Anthony Ramine

Le 11 févr. 2013 à 10:56, Fredrik a écrit :

> On 02/09/2013 02:01 PM, Anthony Ramine wrote:
>> Hi,
>> 
>> I've got a fix:
>> 
>> 	git fetch https://github.com/nox/otp.git wide-chars
>> 
>> 	https://github.com/nox/otp/compare/erlang:master...wide-chars
>> 	https://github.com/nox/otp/compare/erlang:master...wide-chars.patch
>> 
>> I can't test the win32 part though.
>> 
>> Björn, should I add some autoconf machinery to know whether wcwidth() is
>> available?
>> 
>> Regards,
>> 
> Your patch is failing on windows:
> 
> error LNK2019: unresolved external symbol wcwidth referenced in function check_buf_size
> 
> 
> Could you please have a look at this?
> 
> -- 
> 
> BR Fredrik Gustafsson
> Erlang OTP Team
> 



More information about the erlang-patches mailing list