Path scoping for architecture / schema (shared). */
| 3071 | |
| 3072 | /* Path scoping for architecture / schema (shared). */ |
| 3073 | static bool arch_path_is_set(const char *path) { |
| 3074 | if (!path) { |
| 3075 | return false; |
| 3076 | } |
| 3077 | while (*path == ' ' || *path == '\t' || *path == '\n' || *path == '\r') { |
| 3078 | path++; |
| 3079 | } |
| 3080 | return path[0] != '\0'; |
| 3081 | } |
| 3082 | |
| 3083 | static bool arch_path_prepare(const char *path, char *norm_out, size_t norm_sz, char *like_out, |
| 3084 | size_t like_sz) { |