diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2004-06-16 16:58:46 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2004-06-16 16:58:46 +0000 |
commit | fae0bc9d9ba0359d0f3d26325762e93a8e63c209 (patch) | |
tree | 249fcd8b32989bc89842cab98213e425569d4293 /driver | |
parent | 477942df0ee5c54d182b4ad002b06b4dfbbdfb77 (diff) | |
download | ocaml-fae0bc9d9ba0359d0f3d26325762e93a8e63c209.tar.gz |
PR#1938
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'driver')
-rw-r--r-- | driver/pparse.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/driver/pparse.ml b/driver/pparse.ml index da65a5525b..0622ddad9f 100644 --- a/driver/pparse.ml +++ b/driver/pparse.ml @@ -23,7 +23,9 @@ let preprocess sourcefile = None -> sourcefile | Some pp -> let tmpfile = Filename.temp_file "camlpp" "" in - let comm = Printf.sprintf "%s %s > %s" pp sourcefile tmpfile in + let comm = Printf.sprintf "%s %s > %s" + pp (Filename.quote sourcefile) tmpfile + in if Ccomp.command comm <> 0 then begin Misc.remove_file tmpfile; raise Error; |