Path scoping for architecture / schema (shared). */
| 5080 | |
| 5081 | /* Path scoping for architecture / schema (shared). */ |
| 5082 | static bool arch_path_is_set(const char *path) { |
| 5083 | if (!path) { |
| 5084 | return false; |
| 5085 | } |
| 5086 | while (*path == ' ' || *path == '\t' || *path == '\n' || *path == '\r') { |
| 5087 | path++; |
| 5088 | } |
| 5089 | return path[0] != '\0'; |
| 5090 | } |
| 5091 | |
| 5092 | static bool arch_path_prepare(const char *path, char *norm_out, size_t norm_sz, char *like_out, |
| 5093 | size_t like_sz) { |