You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
g_logger(G_LOG_LEVEL_CRITICAL, "No map config sections were found in file: %s", config_file_name);
330
354
exit(1);
331
355
}
356
+
357
+
if (map_section_num>0) {
358
+
for (intx=0; x<map_section_num; x++) {
359
+
for (inty=x+1; y <= map_section_num; y++) {
360
+
if (strncmp(maps_dest[x].xmluri, maps_dest[y].xmluri, strnlen(maps_dest[x].xmluri, PATH_MAX)) ==0) {
361
+
g_logger(G_LOG_LEVEL_CRITICAL, "Specified URI ('%s' in map section '%s') must not be a substring of any subsequent map config section's URI, e.g., '%s' in map section '%s'.", maps_dest[x].xmluri, maps_dest[x].xmlname, maps_dest[y].xmluri, maps_dest[y].xmlname);
REQUIRE_THAT(err_log_lines, Catch::Matchers::Contains("Specified URI ('" + map0_uri + "/' in map section 'map0') must not be a substring of any subsequent map config section's URI, e.g., '/map"));
0 commit comments