File tree Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/ma
33script : bash -ex .travis-opam.sh
44sudo : true
55env :
6- - OCAML_VERSION=4.02 PACKAGE=xapi-idl FORK_USER=xapi-project EXTRA_REMOTES=git://github.com/xapi-project/opam-repo-dev
6+ - OCAML_VERSION=4.02 PACKAGE=xapi-idl EXTRA_REMOTES=git://github.com/xapi-project/opam-repo-dev
Original file line number Diff line number Diff line change @@ -554,13 +554,11 @@ let daemonize ?start_fn () =
554554 Unix. chdir " /" ;
555555 mkdir_rec (Filename. dirname ! pidfile) 0o755 ;
556556 pidfile_write ! pidfile;
557- Unix. close Unix. stdin;
558- Unix. close Unix. stdout;
559- Unix. close Unix. stderr;
560557 let nullfd = Unix. openfile " /dev/null" [ Unix. O_RDWR ] 0 in
561- assert (nullfd = Unix. stdin);
562- let (_:Unix.file_descr ) = Unix. dup nullfd in () ;
563- let (_:Unix.file_descr ) = Unix. dup nullfd in () ;
558+ Unix. dup2 nullfd Unix. stdin;
559+ Unix. dup2 nullfd Unix. stdout;
560+ Unix. dup2 nullfd Unix. stderr;
561+ Unix. close nullfd
564562 | _ -> exit 0 )
565563 | _ -> exit 0
566564
Original file line number Diff line number Diff line change 1- opam-version: "1"
1+ opam-version: "1.2"
2+ authors: "Dave Scott"
3+ homepage: "https://github.com/xapi-project/xcp-idl"
4+ bug-reports: "https://github.com/xapi-project/xcp-idl/issues"
5+ dev-repo: "git://github.com/xapi-project/xcp-idl"
26maintainer: "dave.scott@eu.citrix.com"
37build: [
48 [make "all"]
5- [make "install"]
69]
710build-test: [
811 [make "test"]
912]
13+ install: [
14+ [make "install"]
15+ ]
1016remove: [
1117 ["ocamlfind" "remove" "xcp"]
1218]
You can’t perform that action at this time.
0 commit comments