tap-driver.sh: flush stdout after each test result
[babeltrace.git] / common / common.c
index de98e34cf7636f32a2df43c3afb41abce510c98b..f2fd0b82d62f8ca859a0dbd6c34e46ae8633ae48 100644 (file)
@@ -31,7 +31,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
-#include <babeltrace/assert-internal.h>
+#include <babeltrace2/assert-internal.h>
 #include <stdarg.h>
 #include <ctype.h>
 #include <glib.h>
 #include <stdio.h>
 #include <wchar.h>
 #include <stdbool.h>
-#include <babeltrace/babeltrace-internal.h>
-#include <babeltrace/common-internal.h>
-#include <babeltrace/compat/unistd-internal.h>
+#include <babeltrace2/babeltrace-internal.h>
+#include <babeltrace2/common-internal.h>
+#include <babeltrace2/compat/unistd-internal.h>
 
 #ifndef __MINGW32__
 #include <pwd.h>
 #endif
 
-#define SYSTEM_PLUGIN_PATH     INSTALL_LIBDIR "/babeltrace/plugins"
+#define SYSTEM_PLUGIN_PATH     INSTALL_LIBDIR "/babeltrace2/plugins"
 #define HOME_ENV_VAR           "HOME"
-#define HOME_PLUGIN_SUBPATH    "/.local/lib/babeltrace/plugins"
+#define HOME_PLUGIN_SUBPATH    "/.local/lib/babeltrace2/plugins"
 
 static const char *bt_common_color_code_reset = "";
 static const char *bt_common_color_code_bold = "";
@@ -822,7 +822,7 @@ void bt_common_normalize_star_glob_pattern(char *pattern)
                                goto end;
                        }
 
-                       /* Fall through default case. */
+                       /* fall-through */
                default:
                        got_star = false;
                        break;
@@ -1042,6 +1042,7 @@ retry:
                         * Fall through the default case which compares
                         * the escaped character now.
                         */
+                       /* fall-through */
                default:
                        if (at_end_of_pattern(p, pattern, pattern_len) ||
                                        *c != *p) {
This page took 0.023714 seconds and 4 git commands to generate.