Path scoping for architecture / schema (shared). */
| 4970 | |
| 4971 | /* Path scoping for architecture / schema (shared). */ |
| 4972 | static bool arch_path_is_set(const char *path) { |
| 4973 | if (!path) { |
| 4974 | return false; |
| 4975 | } |
| 4976 | while (*path == ' ' || *path == '\t' || *path == '\n' || *path == '\r') { |
| 4977 | path++; |
| 4978 | } |
| 4979 | return path[0] != '\0'; |
| 4980 | } |
| 4981 | |
| 4982 | static bool arch_path_prepare(const char *path, char *norm_out, size_t norm_sz, char *like_out, |
| 4983 | size_t like_sz) { |