~ubuntu-branches/debian/sid/ocaml/sid

« back to all changes in this revision

Viewing changes to debugger/program_management.ml

  • Committer: Bazaar Package Importer
  • Author(s): Stefano Zacchiroli
  • Date: 2009-02-22 08:49:13 UTC
  • mfrom: (12.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090222084913-3i0uw2bhd0lgw0ok
* Uploading to unstable
* debian/control: bump dh-ocaml to (>= 0.4) to avoid buggy ocamlinit.mk

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
(*                                                                     *)
12
12
(***********************************************************************)
13
13
 
14
 
(* $Id: program_management.ml,v 1.12 2006/12/09 13:49:10 ertai Exp $ *)
 
14
(* $Id: program_management.ml,v 1.13 2008/07/29 08:31:41 xleroy Exp $ *)
15
15
 
16
16
(* Manage the loading of the program *)
17
17
 
74
74
      let sock = socket sock_domain SOCK_STREAM 0 in
75
75
        (try
76
76
           bind sock sock_address;
 
77
           setsockopt sock SO_REUSEADDR true;
77
78
           listen sock 3;
78
79
           connection := io_channel_of_descr sock;
79
80
           Input_handling.add_file !connection (accept_connection continue);