Update a comment: the format bid only runs once per archive; it no
longer runs once per entry.
This commit is contained in:
parent
845aa4ab0a
commit
409e319377
@ -93,17 +93,10 @@ struct archive_read {
|
||||
|
||||
/*
|
||||
* Format detection is mostly the same as compression
|
||||
* detection, with two significant differences: The bidders
|
||||
* detection, with one significant difference: The bidders
|
||||
* use the read_ahead calls above to examine the stream rather
|
||||
* than having the supervisor hand them a block of data to
|
||||
* examine, and the auction is repeated for every header.
|
||||
* Winning bidders should set the archive_format and
|
||||
* archive_format_name appropriately. Bid routines should
|
||||
* check archive_format and decline to bid if the format of
|
||||
* the last header was incompatible.
|
||||
*
|
||||
* Again, write support is considerably simpler because there's
|
||||
* no need for an auction.
|
||||
* examine.
|
||||
*/
|
||||
|
||||
struct archive_format_descriptor {
|
||||
|
Loading…
Reference in New Issue
Block a user