Alejandro Colomar 5581e74188 contrib/, lib/, src/: Use streq() instead of its pattern
Except for the added (and sorted) includes, and the removal of redundant
parentheses, this patch can be approximated with the following semantic
patch:

	$ cat ~/tmp/spatch/streq.sp;
	@@
	expression a, b;
	@@

	- strcmp(a, b) == 0
	+ streq(a, b)

	@@
	expression a, b;
	@@

	- 0 == strcmp(a, b)
	+ streq(a, b)

	@@
	expression a, b;
	@@

	- !strcmp(a, b)
	+ streq(a, b)

	$ find contrib/ lib* src/ -type f \
	| xargs spatch --sp-file ~/tmp/spatch/streq.sp --in-place;
	$ git restore lib/string/strcmp/streq.h;

Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-12-01 22:23:19 -06:00
..
2017-10-22 18:34:35 +00:00
2023-10-04 13:31:38 -05:00
2023-10-04 13:31:38 -05:00

People keep sending various adduser programs and scripts...  They are
all in this directory.  I haven't tested them, use at your own risk.
Anyway, the best one I've seen so far is adduser-3.x from Debian.

udbachk.tgz is a passwd/group/shadow file integrity checker.

--marekm