summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorunknown <df@pippilotta.erinye.com>2008-03-27 13:02:59 +0100
committerunknown <df@pippilotta.erinye.com>2008-03-27 13:02:59 +0100
commit5a6b357e6ff9379b68914048bdac50275f994749 (patch)
treee2f89f2cc36d747fa03ee8061f5adaba2cb2dba2 /win
parent42a06b46149af355ef9d435c93c2b8a61bc9d326 (diff)
downloadmariadb-git-5a6b357e6ff9379b68914048bdac50275f994749.tar.gz
BUG#25340
Diffstat (limited to 'win')
-rwxr-xr-xwin/configure.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/win/configure.js b/win/configure.js
index 4450b97f9a1..0de09fb318c 100755
--- a/win/configure.js
+++ b/win/configure.js
@@ -134,6 +134,8 @@ function GetValue(str, key)
var end = str.indexOf("\n", pos);
if (str.charAt(pos) == "\"")
pos++;
+ if (str.charAt(end-1) == "\r")
+ end--;
if (str.charAt(end-1) == "\"")
end--;
return str.substring(pos, end);