commit | fc458ec8aaa488d9abbc4cdc7240d65cfbb0ae28 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Apr 07 18:11:39 2023 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Apr 07 18:14:28 2023 +0200 |
tree | 42685516c7f6d4d86292b06f168a5b6b851d2869 | |
parent | 6d4c0c2ca247eb9e1e0317a080b577661d24a583 [diff] |
CLEANUP: tree-wide: remove strpcy() from constant strings These ones are genenerally harmless on modern compilers because the compiler checks them. While gcc optimizes them away without even referencing strcpy(), clang prefers to call strcpy(). Nevertheless they prevent from enabling stricter checks so better remove them altogether. They were all replaced by strlcpy2() and the size of the destination which is always known there.