]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/tools/bregex.c
Replace explicit checks for "/" with calls to IsPathSeparator, strchr with first_path...
[bacula/bacula] / bacula / src / tools / bregex.c
index 9587658f38b8194cfa7dc27260268e09294e7dfa..f21240e0e09c860d2eaf89217c5f5973182c2f4b 100644 (file)
@@ -109,6 +109,8 @@ int main(int argc, char *const *argv)
       usage();
    }
 
+   OSDependentInit();
+
    for ( ;; ) {
       printf("Enter regex pattern: ");
       if (fgets(pat, sizeof(pat)-1, stdin) == NULL) {