]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/patches/testing/bregtest.c
ebl fix compilation
[bacula/bacula] / bacula / patches / testing / bregtest.c
index 07104544c32d04139c41499bd4cdbb09e499ad19..52073ea00fe7597506d6f8e1078777f9e80a93fe 100644 (file)
@@ -5,7 +5,7 @@
  *
  */
 /*
-   Bacula® - The Network Backup Solution
+   Bacula\81Â\81® - The Network Backup Solution
 
    Copyright (C) 2006-2006 Free Software Foundation Europe e.V.
 
@@ -26,9 +26,9 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   Bacula® is a registered trademark of John Walker.
+   Bacula\81Â\81® is a registered trademark of John Walker.
    The licensor of Bacula is the Free Software Foundation Europe
-   (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
+   (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Z\81Ã\81¼rich,
    Switzerland, email:ftf@fsfeurope.org.
 */
 
@@ -62,8 +62,11 @@ static void usage()
 
 int main(int argc, char *const *argv)
 {
-       printf("%s\n", bregexp_build_where("/tmp", NULL, ".old"));
-       exit(0);
+   char tab[500];
+   int len = bregexp_get_build_where_size("/tmp", "/tmp/toto", ".old");
+   
+   printf("%s\n", bregexp_build_where(tab, len, "/tmp", "/tmp/toto!", ".old"));
+   exit(0);
 
 
    regex_t preg;