mirror_zfs/lib/libnvpair
rilysh 0cbf135293
libnvpair.c: replace strstr() with strchr() for a single character
Since we're looking for a single new-line character in the haystack,
it's better (and slightly more efficient) to use strchr() instead of
strstr().

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Signed-off-by: rilysh <nightquick@proton.me>
Closes #15798
2024-01-29 09:46:13 -08:00
..
libnvpair_json.c nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
libnvpair.abi nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
libnvpair.c libnvpair.c: replace strstr() with strchr() for a single character 2024-01-29 09:46:13 -08:00
libnvpair.suppr Library ABI tracking with abigail 2020-11-17 09:18:52 -08:00
Makefile.am Replace EXTRA_DIST with dist_noinst_DATA 2022-05-26 09:24:50 -07:00
nvpair_alloc_system.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00