[erlang-patches] Deep list argument error under Windows in os:cmd/1

Fredrik fredrik@REDACTED
Fri Jan 11 11:22:27 CET 2013


Hey Aleksandr,
Any updates on this testcase problem?

BR Fredrik Gustafsson
Erlang OTP Team
On 12/12/2012 01:15 PM, Henrik Nord wrote:
> Hi your test fails with: **** User 2012-12-10 23:03:01.060 **** 
> os_SUITE:deep_list_command failed Reason: undef
>
>
>
>
> On 11/22/2012 09:02 AM, Aleksandr Vinokurov wrote:
>> Hi all,
>>
>> Maybe I'm doing smth. wrong -- why there is no reply to my patch?
>>
>> WBR,
>> Aleksandr Vinokurov
>>
>>
>> On 8 November 2012 14:11, Aleksandr Vinokurov 
>> <aleksandr.vin@REDACTED <mailto:aleksandr.vin@REDACTED>> wrote:
>>
>>     Because of leeway in implementing os:cmd/1 under different OS there is
>>     a difference in results when calling it with deep list
>>     argument. os:cmd/1 specifies io_lib:chars() type for its argument and
>>     io_lib functions can produce deep lists inspite of io_lib:chars()
>>     result type specification. This commit flattens the argument for
>>     erlang:open_port/2 (which is used under Windows) and expands the
>>     os_SUITE to regress the bug.
>>
>>     git fetch git://github.com/aleksandr-vin/otp.git  <http://github.com/aleksandr-vin/otp.git>  maint-fix-os-cmd-win
>>
>>     or viewed here:
>>
>>     https://github.com/aleksandr-vin/otp/compare/maint-fix-os-cmd-win
>>     https://github.com/aleksandr-vin/otp/compare/maint-fix-os-cmd-win.patch
>>
>>     -- 
>>     Aleksandr Vinokurov
>>     +7 (921) 982-21-43
>>     @aleksandrvin
>>
>>
>>
>>
>> -- 
>> ????????? ?????????
>> +7 (921) 982-21-43
>> @aleksandrvin
>>
>>
>>
>> _______________________________________________
>> erlang-patches mailing list
>> erlang-patches@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-patches
>
> -- 
> /Henrik Nord Erlang/OTP
>
>
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20130111/c09c2ae7/attachment.htm>


More information about the erlang-patches mailing list