Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.bin/make
Module Name: src
Committed By: rillig
Date: Sat Nov 14 21:29:44 UTC 2020
Modified Files:
src/usr.bin/make: arch.c dir.c hash.c hash.h var.c
Log Message:
make(1): replace a few HashTable_CreateEntry with HashTable_Set
Instead of HashTable_CreateEntry and HashEntry_Set, several places just
need the HashEntry for storing a value in it. This makes the calling
code simpler to understand.
These parts of the code are already hard enough to understand since they
are about memory management and aliasing. Having a too detailed API for
the HashTable only distracts from these topics.
To generate a diff of this commit:
cvs rdiff -u -r1.176 -r1.177 src/usr.bin/make/arch.c
cvs rdiff -u -r1.209 -r1.210 src/usr.bin/make/dir.c
cvs rdiff -u -r1.56 -r1.57 src/usr.bin/make/hash.c
cvs rdiff -u -r1.32 -r1.33 src/usr.bin/make/hash.h
cvs rdiff -u -r1.684 -r1.685 src/usr.bin/make/var.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index