Bugfixes.
* src/buffer.c (check_label_pattern): Initialize result. * tests/remfiles01.at: Skip if run with root privileges.
This commit is contained in:
@@ -1374,7 +1374,7 @@ static bool
|
||||
check_label_pattern (const char *label)
|
||||
{
|
||||
char *string;
|
||||
bool result;
|
||||
bool result = false;
|
||||
|
||||
if (fnmatch (volume_label_option, label, 0) == 0)
|
||||
return true;
|
||||
|
||||
@@ -30,6 +30,7 @@ AT_KEYWORDS([create remove-files remfiles01 gzip])
|
||||
|
||||
unset TAR_OPTIONS
|
||||
AT_CHECK([
|
||||
AT_UNPRIVILEGED_PREREQ
|
||||
AT_GZIP_PREREQ
|
||||
AT_SORT_PREREQ
|
||||
|
||||
|
||||
Reference in New Issue
Block a user