summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2007-05-09 02:01:53 +0000
committerPaul Smith <psmith@gnu.org>2007-05-09 02:01:53 +0000
commit52ebc531ce68b369594267a716e93f53720c8f1b (patch)
tree3404b1e3f513b67dd501f252d2aea327c06ca03b /ChangeLog
parent891409f2126f8abfd64f28fe82f546d716c671e2 (diff)
downloadgunmake-52ebc531ce68b369594267a716e93f53720c8f1b.tar.gz
Fix Savannah bug #19656: rationalize our use of case-insensitive string
comparison functions to always use POSIX strcasecmp(). For non-POSIX systems that use other functions (strcmpi or stricmp) use a macro to alias strcasecmp to those. If we can't find any of them (VMS, plus whatever UNIX doesn't have them) then define our own version in misc.c.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog22
1 files changed, 22 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0fc548b..8b68779 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,25 @@
+2007-05-08 Paul Smith <psmith@gnu.org>
+
+ Fix Savannah bug #19656:
+
+ * configure.in: Check for strcasecmp(), strcmpi(), and stricmp().
+
+ * make.h: Change all case-insensitive string compares to use
+ strcasecmp() (from POSIX). If we don't have that but do have one
+ of the others, define strcasecmp to be one of those instead. If
+ we don't have any, declare a prototype for our own version.
+
+ * misc.c (strcasecmp): Use this if we can't find any native
+ case-insensitive string comparison function.
+ * vmsfunctions.c: Remove strcmpi(); we'll use misc.c:strcasecmp().
+ * main.c (find_and_set_default_shell): Use strcasecmp() instead of
+ strcmpi().
+ * job.c (_is_unixy_shell, construct_command_argv_internal): Use
+ strcasecmp() instead of stricmp().
+ * hash.h (ISTRING_COMPARE, return_ISTRING_COMPARE): Use strcasecmp()
+ instead of strcmpi().
+ * acinclude.m4: Remove the strcasecmp() check from here.
+
2007-03-21 Paul Smith <psmith@gnu.org>
* configure.in: Don't turn on case-insensitive file system support