]> Dogcows Code - chaz/tar/commitdiff
Bugfixes.
authorSergey Poznyakoff <gray@gnu.org.ua>
Fri, 12 Mar 2010 07:48:46 +0000 (09:48 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Fri, 12 Mar 2010 07:48:46 +0000 (09:48 +0200)
* src/buffer.c (check_label_pattern): Initialize result.
* tests/remfiles01.at: Skip if run with root privileges.

src/buffer.c
tests/remfiles01.at

index 8e1bb9b24aea0dcbd51851cf5213ea3757ea4921..dfc8456db73940d993f2eb00801e60942748784e 100644 (file)
@@ -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;
index 940fd953af79f1f154f103d83fced9f0429468d6..73752b4a450d72bdc17abd5f2af43be6a5cbb663 100644 (file)
@@ -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
 
This page took 0.028271 seconds and 4 git commands to generate.