Path scoping for architecture / schema (shared). */
| 4869 | |
| 4870 | /* Path scoping for architecture / schema (shared). */ |
| 4871 | static bool arch_path_is_set(const char *path) { |
| 4872 | if (!path) { |
| 4873 | return false; |
| 4874 | } |
| 4875 | while (*path == ' ' || *path == '\t' || *path == '\n' || *path == '\r') { |
| 4876 | path++; |
| 4877 | } |
| 4878 | return path[0] != '\0'; |
| 4879 | } |
| 4880 | |
| 4881 | static bool arch_path_prepare(const char *path, char *norm_out, size_t norm_sz, char *like_out, |
| 4882 | size_t like_sz) { |