--- - branch: MAIN date: Sun May 3 12:10:28 UTC 2020 files: - new: '1.41' old: '1.40' path: src/usr.bin/make/str.c pathrev: src/usr.bin/make/str.c@1.41 type: modified id: 20200503T121028Z.1433f6584dc07c831583d8248c665a34e23e1abb log: | usr.bin/make: refactor brk_string The variables are renamed to reflect to which memory region each pointer belongs. The variable "curlen" was always zero. The type of "ch" has changed to char, and its scope is now limited to its actual use. Comparisons of pointers are now consistently written as p != NULL instead of !p, like character comparisons are written as ch != '\0'. The "store_words_buf" is updated when the function returns, not before. module: src subject: 'CVS commit: src/usr.bin/make' unixtime: '1588507828' user: rillig