Date: Thu, 15 May 2025 19:11:44 +0000 From: "Nia Alarie" <n...@netbsd.org> Message-ID: <20250515191144.954c6f...@cvs.netbsd.org>
| stat(1): Eliminate a compiler warning What was the warning? | This code at the moment is a bit magical, as it uses pointer arithemtic | on a string and boolean type to return either "lstat" or "stat". No it didn't, it used pointer arith on a string and an int, which is perfectly well defined. That the int was (effectively) true/false (ie: 1 or 0) is irrelevant, it is still an int. kre