Support/FileSystem: Fix copy_file implementation to use toNullTerminatedStringRef
authorMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 1 Dec 2010 20:37:42 +0000 (20:37 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 1 Dec 2010 20:37:42 +0000 (20:37 +0000)
commit871498e2cede09420fe70fb8aea99725a8422e94
treef83f7cbbac37acfb3e27b877676a8e2fa70deeb3
parent7dc7ac3cb20b7ef8e6febe0ac3bc430230f29893
Support/FileSystem: Fix copy_file implementation to use toNullTerminatedStringRef
instead of toStringRef. The file system APIs need c strings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120601 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Unix/PathV2.inc
lib/Support/Windows/PathV2.inc