Module Name: src Committed By: rillig Date: Fri Jul 31 16:26:16 UTC 2020
Modified Files: src/usr.bin/make: arch.c Log Message: make(1): use snprintf instead of strncpy strncpy is not suited for string processing, despite its name. Even though the previous code used the correct code pattern for strncpy, it still wasted cycles since strncpy always fills the whole target buffer. That's not needed. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/usr.bin/make/arch.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.