This commit is contained in:
Sergey Poznyakoff
2003-10-04 14:05:14 +00:00
parent 91493ea9b6
commit bbbbf42fa6

View File

@@ -1,3 +1,23 @@
2003-10-04 Sergey Poznyakoff
Implemented --occurrence option.
* NEWS: Updated.
* src/common.h (occurrence_option): New global
(struct name): Changed `found' member to `uintmax_t
found_count'.
(names_done): Removed
(all_names_found): Changed prototype.
(ISFOUND,WASFOUND): New macros
* src/delete.c (delete_archive_members): Honor --occurence
option.
* src/list.c (read_and): Likewise.
* src/names.c: Count number of occurrences of each name in the
archive.
(name_match): Honor --occurence option.
(names_done): Removed
(all_names_found,names_notfound): Rewritten.
2003-10-02 Sergey Poznyakoff
* src/tar.c: Removed extra precaution regarding