Skip to content

Commit

Permalink
Quote S-expression atoms emitted by discover.ml
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Mar 6, 2019
1 parent 33a44df commit 98303de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/config/discover.ml
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,7 @@ Lwt can use pthread or the win32 API.

let write_sexp n x =
let f = open_out n in
let x = List.map (Printf.sprintf "\"%s\"") x in
output_string f ("(" ^ String.concat " " x ^ ")");
close_out f
in
Expand Down

0 comments on commit 98303de

Please sign in to comment.