diff options
-rw-r--r-- | bpkg/archive.cxx | 2 | ||||
-rw-r--r-- | bpkg/fetch-git.cxx | 2 | ||||
-rw-r--r-- | bpkg/manifest-utility.cxx | 2 | ||||
-rw-r--r-- | bpkg/utility.hxx | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/bpkg/archive.cxx b/bpkg/archive.cxx index f4a6405..358da42 100644 --- a/bpkg/archive.cxx +++ b/bpkg/archive.cxx @@ -31,7 +31,7 @@ namespace bpkg bsdtar (const char* p) { const char* l (path::traits_type::find_leaf (p)); - return l != nullptr && casecmp (l, "bsdtar", 6) == 0; + return l != nullptr && icasecmp (l, "bsdtar", 6) == 0; } #endif diff --git a/bpkg/fetch-git.cxx b/bpkg/fetch-git.cxx index 6638399..abfed42 100644 --- a/bpkg/fetch-git.cxx +++ b/bpkg/fetch-git.cxx @@ -421,7 +421,7 @@ namespace bpkg // details). // #ifdef _WIN32 - if (casecmp (u, "file://", 7) == 0 && u[7] != '/') + if (icasecmp (u, "file://", 7) == 0 && u[7] != '/') u.insert (7, 1, '/'); #endif diff --git a/bpkg/manifest-utility.cxx b/bpkg/manifest-utility.cxx index bf4956b..29025d3 100644 --- a/bpkg/manifest-utility.cxx +++ b/bpkg/manifest-utility.cxx @@ -28,7 +28,7 @@ namespace bpkg // Ignore the character case for consistency with a case insensitivity of // URI schemes some of which we may support in the future. // - if (casecmp (s, "sys:", 4) == 0) + if (icasecmp (s, "sys:", 4) == 0) { s += 4; return package_scheme::sys; diff --git a/bpkg/utility.hxx b/bpkg/utility.hxx index 2332587..484b394 100644 --- a/bpkg/utility.hxx +++ b/bpkg/utility.hxx @@ -14,7 +14,7 @@ #include <libbutl/ft/lang.hxx> -#include <libbutl/utility.mxx> // casecmp(), reverse_iterate(), etc +#include <libbutl/utility.mxx> // icasecmp(), reverse_iterate(), etc #include <libbutl/filesystem.mxx> #include <libbutl/default-options.mxx> @@ -38,7 +38,7 @@ namespace bpkg // <libbutl/utility.mxx> // - using butl::casecmp; + using butl::icasecmp; using butl::reverse_iterate; using butl::make_guard; |