~ubuntu-branches/ubuntu/karmic/erlang/karmic-security

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-06-11 12:18:07 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090611121807-ks7eb4xrt7dsysgx
Tags: 1:13.b.1-dfsg-1
* New upstream release.
* Removed unnecessary dependency of erlang-os-mon on erlang-observer and
  erlang-tools and added missing dependency of erlang-nox on erlang-os-mon
  (closes: #529512).
* Removed a patch to eunit application because the bug was fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
    end.
98
98
 
99
99
open0(Protocol) ->
100
 
    try erlang:open_port({spawn,protocol2drv(Protocol)}, [binary]) of
 
100
    try erlang:open_port({spawn_driver,protocol2drv(Protocol)}, [binary]) of
101
101
        Port -> {ok,Port}
102
102
    catch
103
103
        error:Reason -> {error,Reason}