diff options
author | Michihiro NAKAJIMA <ggcueroad@gmail.com> | 2011-06-25 02:34:10 -0400 |
---|---|---|
committer | Michihiro NAKAJIMA <ggcueroad@gmail.com> | 2011-06-25 02:34:10 -0400 |
commit | b95049c54e4f43b3e5cf78265fb52c561c452408 (patch) | |
tree | 8a01d8174f474ae50bd042d2a51d654de4df6539 /libarchive/archive_read_support_format_cab.c | |
parent | a2ee96f0c96bf1d1822428e13efffbbdbcb40bfb (diff) | |
download | libarchive-b95049c54e4f43b3e5cf78265fb52c561c452408.tar.gz |
Fix a comment about the garbage bytes of CFDATA compressed by the deflate compression.
SVN-Revision: 3420
Diffstat (limited to 'libarchive/archive_read_support_format_cab.c')
-rw-r--r-- | libarchive/archive_read_support_format_cab.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libarchive/archive_read_support_format_cab.c b/libarchive/archive_read_support_format_cab.c index ff2abf56..834aac57 100644 --- a/libarchive/archive_read_support_format_cab.c +++ b/libarchive/archive_read_support_format_cab.c @@ -1542,11 +1542,11 @@ cab_read_ahead_cfdata_deflate(struct archive_read *a, ssize_t *avail) } /* - * Note: I doubt there is a bug in makecab.exe because compressed - * bytes are still remaining regardless we have gotten all - * uncompressed bytes, which size is recoded in CFDATA, as much as - * we need and we have to use the garbage to compute the sum of - * CFDATA. + * Note: I suspect there is a bug in makecab.exe because, in rare + * case, compressed bytes are still remaining regardless we have + * gotten all uncompressed bytes, which size is recoded in CFDATA, + * as much as we need, and we have to use the garbage so as to + * correctly compute the sum of CFDATA accordingly. */ if (cfdata->compressed_bytes_remaining > 0) { ssize_t bytes_avail; |