Skip to content

Commit

Permalink
Revert "Open gpg temporary file with O_CLOEXEC"
Browse files Browse the repository at this point in the history
Want a fix that doesn't require OCaml >= 4.01.

This reverts commit e196258.
  • Loading branch information
talex5 committed Aug 19, 2015
1 parent e196258 commit 580cb40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ocaml/support/gpg.ml
Expand Up @@ -219,7 +219,7 @@ let verify (system:system) xml =
lwt (stdout, stderr, exit_status) = Lwt.finalize
(fun () ->
lwt () =
Lwt_io.with_file ~flags:[Unix.O_WRONLY; Unix.O_CLOEXEC] ~mode:Lwt_io.output tmp (fun ch ->
Lwt_io.with_file ~flags:[Unix.O_WRONLY] ~mode:Lwt_io.output tmp (fun ch ->
Lwt_io.write ch sig_data
) in

Expand Down
4 changes: 2 additions & 2 deletions opam
Expand Up @@ -4,10 +4,10 @@ homepage: "http://0install.net/"
build: [
[make]
]
depends: ["yojson" "xmlm" "ounit" "react" "lwt" "extlib" "ocurl" "sha"]
depends: [ "yojson" "xmlm" "ounit" "react" "lwt" "extlib" "ocurl" "sha"]
depopts: [ "obus" "lablgtk" ]
depexts: [
[["ubuntu"] ["unzip"]]
[["debian"] ["unzip"]]
]
available: [ ocaml-version >= "4.01.0" ]
available: [ ocaml-version >= "4.00.0" ]

0 comments on commit 580cb40

Please sign in to comment.