diff options
author | Paul Smith <psmith@gnu.org> | 1997-08-27 20:30:54 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1997-08-27 20:30:54 +0000 |
commit | be3fb0ae6d6870dbc1b4d03447afcf3b0fed3114 (patch) | |
tree | f27c2e1c6f3e1f7cc747cad0452734c4c917b208 /dir.c | |
parent | dd0c939e781596fec17f8c72cbe6e3559e703fd8 (diff) | |
download | gunmake-be3fb0ae6d6870dbc1b4d03447afcf3b0fed3114.tar.gz |
Updates for GNU make 3.75.92.
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* Directory hashing for GNU Make. -Copyright (C) 1988, 89, 91, 92, 93, 94, 95, 96 Free Software Foundation, Inc. +Copyright (C) 1988,89,91,92,93,94,95,96,97 Free Software Foundation, Inc. This file is part of GNU Make. GNU Make is free software; you can redistribute it and/or modify @@ -179,13 +179,16 @@ vmsstat_dir (name, st) { *s++ = 0; st->st_dev = (char *)vms_hash (name); + h = vms_hash (s); + *(s-1) = ':'; } else { st->st_dev = 0; s = name; + h = vms_hash (s); } - h = vms_hash (s); + st->st_ino[0] = h & 0xff; st->st_ino[1] = h & 0xff00; st->st_ino[2] = h >> 16; |