libzip: repository: 2d64ba82845b

Navigation

Views: changesets, files, tags, branches

Formats: changeset, raw, files

Download: bz2 zip gz

changeset 1270:2d64ba82845b

Whitespace, and regen.
author Thomas Klausner <tk@giga.or.at>
date Sun, 14 Oct 2012 23:40:18 +0200
parents 5a14d83a82e8
children 687713316de0
files man/zip_file_extra_fields_count.man man/zip_file_extra_fields_count.mdoc
diffstat 2 files changed, 15 insertions(+), 9 deletions(-) [+]
line diff
     1.1 --- a/man/zip_file_extra_fields_count.man	Sun Oct 14 23:19:46 2012 +0200
     1.2 +++ b/man/zip_file_extra_fields_count.man	Sun Oct 14 23:40:18 2012 +0200
     1.3 @@ -56,10 +56,10 @@
     1.4  .RS
     1.5  .TP 18
     1.6  \fBZIP_FL_CENTRAL\fR
     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  .TP 18
    1.10  \fBZIP_FL_LOCAL\fR
    1.11 -Count only extra fields from the local file headers.
    1.12 +Count extra fields from the local file headers.
    1.13  .TP 18
    1.14  \fBZIP_FL_UNCHANGED\fR
    1.15  Count the original unchanged extra fields, ignoring any changes made.
    1.16 @@ -68,14 +68,19 @@
    1.17  The
    1.18  zip_file_extra_fields_count_by_id
    1.19  function counts the extra fields with ID (two-byte signature)
    1.20 -\fBextra_field_id\fR
    1.21 +\fBextra_field_id.\fR
    1.22  The other arguments are the same as for
    1.23  zip_file_extra_fields_count.
    1.24  .PP
    1.25 -Please note that the counts for local header and central directory
    1.26 -extra fields do not need to sum up to the same value as when given
    1.27 +Extra fields that are the same in the central directory and the local file
    1.28 +header are merged into one.
    1.29 +Therefore, the counts with
    1.30 +\fBZIP_FL_CENTRAL\fR
    1.31 +and
    1.32 +\fBZIP_FL_LOCAL\fR
    1.33 +do not need to add up to the same value as when given
    1.34  \fBZIP_FL_CENTRAL|ZIP_FL_LOCAL\fR
    1.35 -at once.
    1.36 +at the same time.
    1.37  .SH "RETURN VALUES"
    1.38  Upon successful completion, the requested number of extra fields is returned.
    1.39  Otherwise, \-1 is returned and the error code in
     2.1 --- a/man/zip_file_extra_fields_count.mdoc	Sun Oct 14 23:19:46 2012 +0200
     2.2 +++ b/man/zip_file_extra_fields_count.mdoc	Sun Oct 14 23:40:18 2012 +0200
     2.3 @@ -71,13 +71,14 @@
     2.4  .Fn zip_file_extra_fields_count .
     2.5  .Pp
     2.6  Extra fields that are the same in the central directory and the local file
     2.7 -header are merged into one.  Therefore, the counts with
     2.8 -.Dv  ZIP_FL_CENTRAL
     2.9 +header are merged into one.
    2.10 +Therefore, the counts with
    2.11 +.Dv ZIP_FL_CENTRAL
    2.12  and
    2.13  .Dv ZIP_FL_LOCAL
    2.14  do not need to add up to the same value as when given
    2.15  .Dv ZIP_FL_CENTRAL|ZIP_FL_LOCAL
    2.16 -at once.
    2.17 +at the same time.
    2.18  .Sh RETURN VALUES
    2.19  Upon successful completion, the requested number of extra fields is returned.
    2.20  Otherwise, \-1 is returned and the error code in