]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/findlib/match.c
Tweak fix MySQL quoting again :-(
[bacula/bacula] / bacula / src / findlib / match.c
index 49a2e92a0dc4fd5d892bb934a1c42ce5632b8e22..3e84e33526a63a2047f5110ceae0e490765f3151 100644 (file)
@@ -6,7 +6,7 @@
    The main author of Bacula is Kern Sibbald, with contributions from
    many others, a complete list can be found in the file AUTHORS.
    This program is Free Software; you can redistribute it and/or
-   modify it under the terms of version two of the GNU General Public
+   modify it under the terms of version three of the GNU Affero General Public
    License as published by the Free Software Foundation and included
    in the file LICENSE.
 
@@ -15,7 +15,7 @@
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    General Public License for more details.
 
-   You should have received a copy of the GNU General Public License
+   You should have received a copy of the GNU Affero General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
@@ -43,8 +43,6 @@
 #include "bacula.h"
 #include "find.h"
 
-#include <pwd.h>
-#include <grp.h>
 #include <sys/types.h>
 
 #ifndef FNM_LEADING_DIR
@@ -195,6 +193,9 @@ void add_fname_to_include_list(FF_PKT *ff, int prefixed, const char *fname)
          case 'K':
             inc->options |= FO_NOATIME;
             break;
+         case 'X':
+            inc->options |= FO_XATTR;
+            break;
          default:
             Emsg1(M_ERROR, 0, _("Unknown include/exclude option: %c\n"), *rp);
             break;
@@ -245,7 +246,7 @@ void add_fname_to_include_list(FF_PKT *ff, int prefixed, const char *fname)
          { }
       next->next = inc;
    }
-   Dmsg3(00, "add_fname_to_include prefix=%d gzip=%d fname=%s\n", 
+   Dmsg3(100, "add_fname_to_include prefix=%d gzip=%d fname=%s\n", 
          prefixed, !!(inc->options & FO_GZIP), inc->fname);
 }