[erlang-patches] jinterface: bug detecting user home directory on windows

Fredrik fredrik@REDACTED
Fri Feb 1 11:56:26 CET 2013


On 02/01/2013 11:44 AM, Vlad Dumitrescu wrote:
> Hi,
>
> Jinterface uses System.getProperty("user.home") to locate the user's 
> home and the cookie file. On Windows, the result might be different 
> than the value used by Erlang, which looks first to the HOMEDRIVE and 
> HOMEPATH variables.
>
> The fix makes jinterface use the same logic to locate the cookie file.
>
> The branch is based on master.
>
> git fetch git://github.com/vladdu/otp.git 
> <http://github.com/vladdu/otp.git> jinterface_windows_cookie
>
> https://github.com/vladdu/otp/compare/jinterface_windows_cookie
> https://github.com/vladdu/otp/compare/jinterface_windows_cookie.patch
>
> Writing a test for this would require running it with different 
> environment settings and how to do it depends on how you run your 
> tests at OTP. I would need guidance to implement it.
>
> The fix has been in the erlide code base for a while and I didn't see 
> any problems.
>
> best regards,
> Vlad
>
>
>
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches
Your patch is now cooking in the 'master-pu' branch.
Thanks,

-- 

BR Fredrik Gustafsson
Erlang OTP Team

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


More information about the erlang-patches mailing list