summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2000-07-30 18:26:42 +0000
committerPaul Smith <psmith@gnu.org>2000-07-30 18:26:42 +0000
commit1a82956eaeb7ba5fde121755d0042c42c2043069 (patch)
tree428a6561e292db9ab7285023d9e9727eaeac2be1 /dir.c
parent3c132f10f39f1675607d50f5c75669ec64e13bb5 (diff)
downloadgunmake-1a82956eaeb7ba5fde121755d0042c42c2043069.tar.gz
* Various fixes; see the ChangeLog.
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index d783c64..c6c542c 100644
--- a/dir.c
+++ b/dir.c
@@ -159,7 +159,8 @@ vms_hash (name)
while (*name)
{
- h = (h << 4) + (isupper (*name) ? tolower (*name) : *name);
+ unsigned char uc = *name;
+ h = (h << 4) + (isupper (uc) ? tolower (uc) : uc);
name++;
g = h & 0xf0000000;
if (g)