xz: Check if the file already has custom suffix when compressing.
commit6decc8b41882c2250f0450eb87b83c9fbf495e95
authorLasse Collin <lasse.collin@tukaani.org>
Fri, 4 Feb 2011 09:29:47 +0000 (4 11:29 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 4 Feb 2011 09:29:47 +0000 (4 11:29 +0200)
treec1b2725119408c048f6f899b87b83a9bf3cc6eab
parentecda90061df8d39399e707e5c76c2ec0a0f400e5
xz: Check if the file already has custom suffix when compressing.

Now "xz -S .test foo.test" refuses to compress the
file because it already has the suffix .test. The man
page had it documented this way already.
src/xz/suffix.c