Solution to R9B-1 Windows gs freeze problem

Kent Boortz <>
Sun May 11 13:24:15 CEST 2003


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
@@ -119,9 +120,9 @@
     ?DBG(1, "start_link(~w)~n", [Gstk]),
 %    io:format("STARTS ~p\n",[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;



More information about the erlang-patches mailing list