changeset 1269:5a14d83a82e8
Improve wording.
| author | Dieter Baron <dillo@nih.at> |
|---|---|
| date | Sun, 14 Oct 2012 23:19:46 +0200 |
| parents | 4c7f7bfc59af |
| children | 2d64ba82845b 8d37526283ef |
| files | man/zip_file_extra_fields_count.mdoc |
| diffstat | 1 files changed, 9 insertions(+), 5 deletions(-) [+] |
line diff
1.1 --- a/man/zip_file_extra_fields_count.mdoc Sun Oct 14 23:03:44 2012 +0200 1.2 +++ b/man/zip_file_extra_fields_count.mdoc Sun Oct 14 23:19:46 2012 +0200 1.3 @@ -56,9 +56,9 @@ 1.4 The following flags are supported: 1.5 .Bl -tag -width ZIP_FL_CENTRALXX -offset indent 1.6 .It Dv ZIP_FL_CENTRAL 1.7 -Count only extra fields from the archive's central directory. 1.8 +Count extra fields from the archive's central directory. 1.9 .It Dv ZIP_FL_LOCAL 1.10 -Count only extra fields from the local file headers. 1.11 +Count extra fields from the local file headers. 1.12 .It Dv ZIP_FL_UNCHANGED 1.13 Count the original unchanged extra fields, ignoring any changes made. 1.14 .El 1.15 @@ -66,12 +66,16 @@ 1.16 The 1.17 .Fn zip_file_extra_fields_count_by_id 1.18 function counts the extra fields with ID (two-byte signature) 1.19 -.Ar extra_field_id 1.20 +.Ar extra_field_id . 1.21 The other arguments are the same as for 1.22 .Fn zip_file_extra_fields_count . 1.23 .Pp 1.24 -Please note that the counts for local header and central directory 1.25 -extra fields do not need to sum up to the same value as when given 1.26 +Extra fields that are the same in the central directory and the local file 1.27 +header are merged into one. Therefore, the counts with 1.28 +.Dv ZIP_FL_CENTRAL 1.29 +and 1.30 +.Dv ZIP_FL_LOCAL 1.31 +do not need to add up to the same value as when given 1.32 .Dv ZIP_FL_CENTRAL|ZIP_FL_LOCAL 1.33 at once. 1.34 .Sh RETURN VALUES
