Comment 1 for bug 594868

Revision history for this message
Yavor Nikolov (yavor-nikolov) wrote :

Working but still just barely tested implementation has been pushed to lp:~yavor-nikolov/pbzip2/pbzip2-1.1.x-yn-ignore-trailing.

The feature is switched on/off using following option:
--ignore-trailing-garbage=0 (Old behaviour - trailing garbage causes error and abort)
--ignore-trailing-garbage=1 (Trailing garbage is just ignored /printing just a warning about it if in verbose mode/)
--ignore-trailing-garbage (Same as --ignore-trailing-garbage=1)

The default value flag could be specified by conditional compilation with IGNORE_TRAILING_GARBAGE=<flag value>. (The default is 0).