Module Name: src Committed By: rillig Date: Fri Sep 3 20:24:28 UTC 2021
Modified Files: src/usr.sbin/inetd: Makefile inetd.c inetd.h ipsec.c parse_v2.c Log Message: inetd: prepare for lint's strict bool mode Lint's strict bool mode considers bool incompatible with the other scalar types. This makes the type of expressions more visible in the code. In particular, conditions of the form '!strcmp(...)' are no longer allowed, they have to be written as 'strcmp(...) == 0'. The operator '!' cannot be used with sep->se_wait since that has type pid_t, not bool. No change to the resulting binary. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/usr.sbin/inetd/Makefile cvs rdiff -u -r1.133 -r1.134 src/usr.sbin/inetd/inetd.c cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/inetd/inetd.h cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/inetd/ipsec.c cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/inetd/parse_v2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.