Skip to content

Commit 6a14a52

Browse files
committed
normalized -> native
1 parent 0abb8b3 commit 6a14a52

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rcl/src/rcl/node.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const char * rcl_create_node_logger_name(
102102
/// Return the secure root directory associated with a node given the validated node name and namespace.
103103
/**
104104
* E.g. for a node named "c" in namespace "/a/b", the secure root path will be
105-
* "a/b/c", where the delimiter "/" is normalized for target file system (e.g. "\\" for _WIN32).
105+
* "a/b/c", where the delimiter "/" is native for target file system (e.g. "\\" for _WIN32).
106106
*
107107
* \param[in] node_name validated node name (a single token)
108108
* \param[in] node_namespace validated, absolute namespace (starting with "/")
@@ -137,7 +137,7 @@ const char * rcl_get_secure_root(
137137
char * node_root_path = NULL;
138138
// Combine node namespace with node name
139139
node_fqn = rcutils_format_string(*allocator, "%s%s%s", node_namespace, "/", node_name);
140-
// Get normalized path, ignore the leading forward slash.
140+
// Get native path, ignore the leading forward slash.
141141
node_root_path = rcutils_to_native_path(node_fqn + 1, *allocator);
142142
node_secure_root = rcutils_join_path(ros_secure_root_env, node_root_path, *allocator);
143143
allocator->deallocate(node_fqn, allocator->state);

0 commit comments

Comments
 (0)