~clint-fewbar/ubuntu/precise/erlang/merge-15b

« back to all changes in this revision

Viewing changes to erts/preloaded/src/erl_prim_loader.erl

  • Committer: Elliot Murphy
  • Date: 2009-12-22 02:56:21 UTC
  • mfrom: (3.3.5 sid)
  • Revision ID: elliot@elliotmurphy.com-20091222025621-qv3rja8gbpiabkbe
Tags: 1:13.b.3-dfsg-2ubuntu1
* Merge with Debian testing; remaining Ubuntu changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to. (LP #438365)
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
* Fixed dialyzer(1) manpage which was placed into section 3 and conflicted
  with dialyzer(3erl).
* New upstream release (it adds a new binary package erlang-erl-docgen).
* Refreshed patches, removed most of emacs.patch which is applied upstream.
* Linked run_test binary from erlang-common-test package to /usr/bin.
* Fixed VCS headers in debian/control.
* Moved from prebuilt manpages to generated from sources. This adds
  erlang-manpages binary package and xsltproc build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
         data,                    % data port etc
66
66
         timeout,                 % idle timeout
67
67
         n_timeouts,              % Number of timeouts before archives are released
68
 
         multi_get = false   :: bool(),
 
68
         multi_get = false   :: boolean(),
69
69
         prim_state}).            % state for efile code loader
70
70
 
71
71
-define(IDLE_TIMEOUT, 60000).  %% tear inet connection after 1 minutes
122
122
            {error,Reason}
123
123
    end.
124
124
 
125
 
start_it("ose_inet", Id, Pid, Hosts) ->
 
125
start_it("ose_inet"=Cmd, Id, Pid, Hosts) ->
126
126
    %% Setup reserved port for ose_inet driver (only OSE)
127
 
    case catch erlang:open_port({spawn,ose_inet},[binary]) of
 
127
    case catch erlang:open_port({spawn,Cmd},[binary]) of
128
128
        {'EXIT',Why} ->
129
129
            ?dbg(ose_inet_port_open_fail, Why),
130
130
            Why;