Issue a warning if the archive being compared contais transformed file names.

* src/common.h (transform_program_p): New proto.
* src/transform.c (transform_program_p): New function.
* src/compare.c (verify_volume): Warn if the archive contains
transformed file names.
This commit is contained in:
Sergey Poznyakoff
2010-11-15 11:22:27 +02:00
parent ff2bc5c0a1
commit 73d0d1a0f8
3 changed files with 19 additions and 3 deletions

View File

@@ -628,3 +628,9 @@ transform_name (char **pinput, int type)
{
return transform_name_fp (pinput, type, NULL, NULL);
}
bool
transform_program_p (void)
{
return transform_head != NULL;
}