Fix slash escaping in cwrapper.c
authorTamar Christina <tamar@zhox.com>
Tue, 6 Jun 2017 15:16:32 +0000 (16:16 +0100)
committerTamar Christina <tamar@zhox.com>
Thu, 8 Jun 2017 06:15:26 +0000 (07:15 +0100)
commitbca56bd040de64315564cdac4b7e943fc8a75ea0
tree4b07940fa5e45b6e9e37538f55edf060cb0d9906
parentef07010cf4f480d9f595a71cf5b009884522a75e
Fix slash escaping in cwrapper.c

Summary: Escape `\` in paths on Windows in `cwapper.c` when we re-output the paths.

Test Plan: ./validate

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie

GHC Trac Issues: #13666

Differential Revision: https://phabricator.haskell.org/D3628
driver/utils/cwrapper.c