]> granicus.if.org Git - llvm/commit
Work around lack of Wine support for SetFileInformationByHandle harder
authorHans Wennborg <hans@hanshq.net>
Thu, 12 Oct 2017 17:38:22 +0000 (17:38 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 12 Oct 2017 17:38:22 +0000 (17:38 +0000)
commit7e513564e2ae1e24fb65f93c724c83fb01331ce7
tree3f91b75303db75c047ea7d7fbcd44cc37c55bad4
parent499a404a37c11458af942be6677934506a07d726
Work around lack of Wine support for SetFileInformationByHandle harder

In r315079 I added a check for the ERROR_CALL_NOT_IMPLEMENTED error
code, but it turns out earlier versions of Wine just returned false
without setting any error code.

This patch handles the unset error code case.

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