diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-05-04 15:19:22 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-05-04 15:19:22 -0700 |
| commit | 05b47002ebbf99561476564cb9dfe1869cb79c7c (patch) | |
| tree | d087bbd7cf5ee058f56f9ab93c0e89835216f5ab /toolsrc/src/commands_install.cpp | |
| parent | 7bdf189a921fdee47044e907a3ff48ce8c880fe2 (diff) | |
| download | vcpkg-05b47002ebbf99561476564cb9dfe1869cb79c7c.tar.gz vcpkg-05b47002ebbf99561476564cb9dfe1869cb79c7c.zip | |
Introduce Strings::case_insensitive_ascii_compare()
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
| -rw-r--r-- | toolsrc/src/commands_install.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp index 2260b067e..bebe6a3a2 100644 --- a/toolsrc/src/commands_install.cpp +++ b/toolsrc/src/commands_install.cpp @@ -69,7 +69,8 @@ namespace vcpkg::Commands::Install const std::string filename = file.filename().generic_string(); if (fs::is_regular_file(status) && - (_stricmp(filename.c_str(), "CONTROL") == 0 || _stricmp(filename.c_str(), "BUILD_INFO") == 0)) + (Strings::case_insensitive_ascii_compare(filename.c_str(), "CONTROL") == 0 || + Strings::case_insensitive_ascii_compare(filename.c_str(), "BUILD_INFO") == 0)) { // Do not copy the control file continue; |
