[PATCH] (issue176) Compare installation and registry path case insensitive

Wald Commits scm-commit at wald.intevation.org
Thu Dec 4 14:32:21 CET 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1417699936 -3600
# Node ID fdef94da2d7065d062e143930557ec956769b4df
# Parent  341f79090de20adb3237fb88ed64caeaac2a1856
(issue176) Compare installation and registry path case insensitive.

diff -r 341f79090de2 -r fdef94da2d70 common/util.c
--- a/common/util.c	Thu Dec 04 13:19:11 2014 +0100
+++ b/common/util.c	Thu Dec 04 14:32:16 2014 +0100
@@ -192,7 +192,7 @@
       goto done;
     }
 
-  ret = wcscmp (buf1, buf2) == 0;
+  ret = _wcsicmp (buf1, buf2) == 0;
 done:
   xfree (wpath1);
   xfree (wpath2);


More information about the Trustbridge-commits mailing list