summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2006-01-04 14:45:16 +0000
committerPaul Smith <psmith@gnu.org>2006-01-04 14:45:16 +0000
commit5e0f2a90ce647d0de2f66f8bb7d8bcf38eadd254 (patch)
tree48a8511b273fdfc555442951b97cca3fceb79ee6 /dir.c
parentb15fe4b7da9c56a786f7bfac9283e1b277525318 (diff)
downloadmake-5e0f2a90ce647d0de2f66f8bb7d8bcf38eadd254.tar.gz
Various changes getting ready for the release of 3.81.
- Updates to make.texi and make.1 and other documentation - Some VMS patches - Fix minor bugs reported on the mailing list and from Debian.
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dir.c b/dir.c
index 98b3bb1a..c1db6590 100644
--- a/dir.c
+++ b/dir.c
@@ -155,7 +155,11 @@ vms_hash (char *name)
while (*name)
{
unsigned char uc = *name;
+#ifdef HAVE_CASE_INSENSITIVE_FS
h = (h << 4) + (isupper (uc) ? tolower (uc) : uc);
+#else
+ h = (h << 4) + uc;
+#endif
name++;
g = h & 0xf0000000;
if (g)