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
commite3986eea432878243eabefeb15f981f9e945b70c (patch)
treedbcac71f3a122b168f830d7fe525a18efe07f885 /dir.c
parent1a5beef51f5c32081116e502c1c90a3e32813020 (diff)
downloadgunmake-e3986eea432878243eabefeb15f981f9e945b70c.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 8050a36..8b77ee6 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