Fix a bug in Windows resource file detection.
authorRui Ueyama <ruiu@google.com>
Wed, 16 Oct 2013 03:29:49 +0000 (03:29 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 16 Oct 2013 03:29:49 +0000 (03:29 +0000)
commit86df596c4121633114fca22585583f7b585b87aa
tree88b4405e90019a10e46924d03013a0b68abd2cf5
parenta2ef865fa9e2d2fa108f9d3c1d3a63c1607bf1d4
Fix a bug in Windows resource file detection.

The magic bytes should not include the trailing NUL byte.

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