state = (struct private_data *)self->data;
- /* A mtime of 0 is considered invalid/missing. */
+ /* An mtime of 0 is considered invalid/missing. */
if (state->mtime != 0)
archive_entry_set_mtime(entry, state->mtime, 0);
break;
case READ_DEFAULT_STREAM:
case READ_LEGACY_STREAM:
- /* Reading a lz4 stream already failed. */
+ /* Reading an lz4 stream already failed. */
archive_set_error(&self->archive->archive,
ARCHIVE_ERRNO_MISC, "Invalid sequence");
return (ARCHIVE_FATAL);
}
/*
- * If the both uncompressed size and compressed size are the same,
+ * If both uncompressed size and compressed size are the same,
* we do not decompress this block.
*/
if (state->uncompressed_size == state->compressed_size) {
* NOTE: if a filename suffix is ".z", it is a file gzipped by afio.
* it would be nice if we could show uncompressed file size and
* uncompress file contents automatically, unfortunately we have nothing
- * to get a uncompressed file size while reading each header. It means
+ * to get an uncompressed file size while reading each header. It means
* we also cannot uncompress file contents under our framework.
*/
static int
const void *, size_t);
/*
- * Add a lz4 compression filter to this write handle.
+ * Add an lz4 compression filter to this write handle.
*/
int
archive_write_add_filter_lz4(struct archive *_a)
free(data->out_buffer);
if (f->archive->magic == ARCHIVE_WRITE_MAGIC) {
/* Buffer size should be a multiple number of
- * the of bytes per block for performance. */
+ * the bytes per block for performance. */
bpb = archive_write_get_bytes_per_block(f->archive);
if (bpb > bs)
bs = bpb;
#ifdef HAVE_ZLIB_H
/*
* Copy a compressed file to iso9660.zisofs.temp_fd
- * and also copy a uncompressed file(original file) to
+ * and also copy an uncompressed file(original file) to
* iso9660.temp_fd . If the number of logical block
* of the compressed file is less than the number of
* logical block of the uncompressed file, use it and
}
/*
- * Make a mtime entry, "<mtime>".
+ * Make an mtime entry, "<mtime>".
*/
if (archive_entry_mtime_is_set(file->entry)) {
r = xmlwrite_time(a, writer, "mtime",
* In particular:
* * lz4 -d will read multiple lz4 streams, concatenating the output
* * lz4 -d will stop at the end of a stream if the following data
- * doesn't start with a lz4 signature.
+ * doesn't start with an lz4 signature.
*/
/*