From 4eb7af91555a979d86bfd3c86c6311044f797ae5 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 12 Aug 2019 12:13:58 -0400 Subject: [PATCH] cli: mention path separator for Windows in comment This function uses bt_common_append_plugin_path_dirs, which uses G_SEARCHPATH_SEPARATOR to split up paths. G_SEARCHPATH_SEPARATOR is ';' on Windows. Change-Id: If2a88d5cd138d0e1ab186e1e33fda9bb3ceaec5a Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/1882 Tested-by: jenkins Reviewed-by: Philippe Proulx --- src/cli/babeltrace2-cfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/babeltrace2-cfg.c b/src/cli/babeltrace2-cfg.c index 4ab27b0b..21a5ea17 100644 --- a/src/cli/babeltrace2-cfg.c +++ b/src/cli/babeltrace2-cfg.c @@ -34,8 +34,8 @@ void destroy_gstring(void *data) } /* - * Extracts the various paths from the string arg, delimited by ':', - * and appends them to the array value object plugin_paths. + * Extracts the various paths from the string arg, delimited by ':' on UNIX, + * ';' on Windows, and appends them to the array value object `plugin_paths`. */ int bt_config_append_plugin_paths( bt_value *plugin_paths, const char *arg) -- 2.34.1