Path scoping for architecture / schema (shared). */
| 8223 | |
| 8224 | /* Path scoping for architecture / schema (shared). */ |
| 8225 | static bool arch_path_is_set(const char *path) { |
| 8226 | if (!path) { |
| 8227 | return false; |
| 8228 | } |
| 8229 | while (*path == ' ' || *path == '\t' || *path == '\n' || *path == '\r') { |
| 8230 | path++; |
| 8231 | } |
| 8232 | return path[0] != '\0'; |
| 8233 | } |
| 8234 | |
| 8235 | static bool arch_path_prepare(const char *path, char *norm_out, size_t norm_sz, char *like_out, |
| 8236 | size_t like_sz) { |