Module Name: src Committed By: rillig Date: Sat Jun 1 10:10:50 UTC 2024
Modified Files: src/usr.bin/make: hash.h Log Message: make: require return value of HashIter_Next to be used This would have prevented an endless loop in purge_relative_cached_realpaths. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/usr.bin/make/hash.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/make/hash.h diff -u src/usr.bin/make/hash.h:1.49 src/usr.bin/make/hash.h:1.50 --- src/usr.bin/make/hash.h:1.49 Fri May 31 05:50:11 2024 +++ src/usr.bin/make/hash.h Sat Jun 1 10:10:50 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: hash.h,v 1.49 2024/05/31 05:50:11 rillig Exp $ */ +/* $NetBSD: hash.h,v 1.50 2024/06/01 10:10:50 rillig Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. @@ -140,7 +140,7 @@ void HashTable_Set(HashTable *, const ch void HashTable_DeleteEntry(HashTable *, HashEntry *); void HashTable_DebugStats(HashTable *, const char *); -bool HashIter_Next(HashIter *); +bool HashIter_Next(HashIter *) MAKE_ATTR_USE; MAKE_INLINE void HashSet_Init(HashSet *set)