diff options
author | Denis Vlasenko | 2008-11-11 21:15:56 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-11-11 21:15:56 +0000 |
commit | 618a3027edbfd42e52bfd7680cd24affe7a29b4c (patch) | |
tree | 5493504ca370c90464e3b6550d11b6d51c05c4fc /libbb | |
parent | 3b35fbb6323adadf7108e1d32fc4d93b4d89e9c4 (diff) | |
download | busybox-618a3027edbfd42e52bfd7680cd24affe7a29b4c.zip busybox-618a3027edbfd42e52bfd7680cd24affe7a29b4c.tar.gz |
du: fix "du /dir /dir" case
reset_ino_dev_hashtable - 84 +84
du 388 376 -12
du_main 327 301 -26
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/2 up/down: 84/-38) Total: 46 bytes
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/inode_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/inode_hash.c b/libbb/inode_hash.c index 4469671..b32bd26 100644 --- a/libbb/inode_hash.c +++ b/libbb/inode_hash.c @@ -67,7 +67,7 @@ void FAST_FUNC add_to_ino_dev_hashtable(const struct stat *statbuf, const char * ino_dev_hashtable[i] = bucket; } -#if ENABLE_FEATURE_CLEAN_UP +#if ENABLE_DU || ENABLE_FEATURE_CLEAN_UP /* Clear statbuf hash table */ void FAST_FUNC reset_ino_dev_hashtable(void) { |