Module Name: src Committed By: rillig Date: Sun Apr 11 17:48:01 UTC 2021
Modified Files: src/usr.bin/make: var.c Log Message: make: migrate handling of the modifier ':S,from,to,' to Substring Right now this does not gain any performance, it only makes the code in ModifyWord_Subst a little simpler since it only uses Buf_AddBytesBetween, not a mixture with Buf_AddBytes. When the word passed to the ModifyWord functions is converted to Substring as well, the call to strlen will become redundant. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.917 -r1.918 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.