| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ae7839b commit 16b5bc6
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2138,7 +2138,9 @@ wchar_t * | |||
| 2138 | 2138 | _Py_join_relfile(const wchar_t *dirname, const wchar_t *relfile) | |
| 2139 | 2139 | { | |
| 2140 | 2140 | assert(dirname != NULL && relfile != NULL); | |
| 2141 | + #ifndef MS_WINDOWS | ||
| 2141 | 2142 | assert(!_Py_isabs(relfile)); | |
| 2143 | + #endif | ||
| 2142 | 2144 | size_t maxlen = wcslen(dirname) + 1 + wcslen(relfile); | |
| 2143 | 2145 | size_t bufsize = maxlen + 1; | |
| 2144 | 2146 | wchar_t *filename = PyMem_RawMalloc(bufsize * sizeof(wchar_t)); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments