Erlang/OTP Forums

Author Message

<  Erlang patches mailing list  ~  Solution to R9B-1 Windows gs freeze problem

kent at erix.ericsson.se
Posted: Sun May 11, 2003 11:24 am Reply with quote
Guest
Just as a note gs in R9B-1 has a bug that makes it work very
unreliable on some Windows setups. This can be worked around by
starting Erlang like

werl -gs backend_comm socket

A correction will be included in R9B-2 or R9C,

kent


--- gstk_port_handler.erl.ORIG Tue Dec 17 16:49:28 2002
+++ gstk_port_handler.erl Thu May 8 14:15:19 2003
_at__at_ -119,9 +120,9 _at__at_
?DBG(1, "start_link(~w)~n", [Gstk]),
% io:format("STARTS ~p
",[erlang:localtime()]),
Mode =
-% case {os:type(),application:get_env(gs,backend_comm)} of
+ % FIXME: Want to use application:get_env() if we where an true app
case {os:type(),get_env(gs,backend_comm)} of
- {win32,undefined} ->
+ {{win32,_Flavor},undefined} ->
use_socket;
{_OS,undefined} ->
use_port;


Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum