summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2003-07-19 02:46:25 +0000
committerPaul Smith <psmith@gnu.org>2003-07-19 02:46:25 +0000
commit7f5d8861ba1ba1b0b544ebc0da26864502b5666b (patch)
treedbcac71f3a122b168f830d7fe525a18efe07f885 /dir.c
parent569d43ad102ea3ccd02a46128dbbc8020bf3bf05 (diff)
downloadmake-7f5d8861ba1ba1b0b544ebc0da26864502b5666b.tar.gz
Minor updates for Windows and OS/2.
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 8050a36c..8b77ee68 100644
--- a/dir.c
+++ b/dir.c
@@ -1,6 +1,6 @@
/* Directory hashing for GNU Make.
Copyright (C) 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
-2002 Free Software Foundation, Inc.
+2002,2003 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify
@@ -249,6 +249,7 @@ directory_contents_hash_1 (const void *key_0)
unsigned long hash;
#ifdef WINDOWS32
+ hash = 0;
ISTRING_HASH_1 (key->path_key, hash);
hash ^= ((unsigned int) key->dev << 4) ^ (unsigned int) key->ctime;
#else
@@ -271,6 +272,7 @@ directory_contents_hash_2 (const void *key_0)
unsigned long hash;
#ifdef WINDOWS32
+ hash = 0;
ISTRING_HASH_2 (key->path_key, hash);
hash ^= ((unsigned int) key->dev << 4) ^ (unsigned int) ~key->ctime;
#else