mirror of
https://https.git.savannah.gnu.org/git/tar.git
synced 2026-01-27 01:44:34 +00:00
Gnulib’s new streq and memeq functions make code a bit more readable and, we hope, a bit more reliable and easy to maintain. * gnulib.modules: Add stringeq. * lib/wordsplit.c (wordsplit_find_env): * src/buffer.c (check_compressed_archive, check_tty) (_open_archive, new_volume, try_new_volume) (drop_volume_label_suffix): * src/checkpoint.c (checkpoint_compile_action): * src/compare.c (process_rawdata, diff_symlink): * src/create.c (cachedir_file_p): * src/delete.c (delete_archive_members): * src/exclist.c (hg_addfn, get_vcs_ignore_file): * src/extract.c (ds_compare, remove_delayed_set_stat) (fixup_delayed_set_stat, apply_nonancestor_delayed_set_stat) (extract_link): * src/incremen.c (nfs_file_stat, compare_directory_canonical_names) (procdir): * src/list.c (read_header, decode_header): * src/misc.c (replace_prefix): * src/names.c (uname_to_uid, gname_to_gid, read_next_name) (name_compare): * src/sparse.c (check_data_region): * src/suffix.c (find_compression_suffix): * src/system.c (sys_detect_dev_null_output) (sys_child_open_for_compress, sys_child_open_for_uncompress): * src/tar.c (set_archive_format, tar_set_quoting_style) (optloc_eq, set_use_compress_program_option, decode_signal) (report_textual_dates, decode_options): * src/update.c (update_archive): * src/warning.c (set_warning_option): * src/xattrs.c (xattrs_xattrs_set): * src/xheader.c (xheader_keyword_override_p) (xheader_set_keyword_equal, locate_handler) (xheader_protected_keyword_p): Prefer memeq/streq to memcmp/strcmp when either will do.