From a1b2319ff2ddc8a6f139ee364cabe236ca62e23e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 8 Aug 2016 14:55:26 +0300 Subject: Add ignore case support for find_option() --- build2/install/rule.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'build2/install') diff --git a/build2/install/rule.cxx b/build2/install/rule.cxx index 165b43d..39741bd 100644 --- a/build2/install/rule.cxx +++ b/build2/install/rule.cxx @@ -4,8 +4,6 @@ #include -#include // tolower() - #include #include #include @@ -254,7 +252,7 @@ namespace build2 assert (d.absolute ()); string s (d.representation ()); - s[1] = tolower(s[0]); // Replace ':' with the drive letter. + s[1] = lcase (s[0]); // Replace ':' with the drive letter. s[0] = '/'; return dir_path (dir_path (move (s)).posix_representation ()); -- cgit v1.1