April 14, 2026
9:29 p.m.
Alfred Agrell (@Alcaro) commented about dlls/d3dcompiler_43/tests/hlsl_d3d9.c:
delete_directory(L"include"); }
+static void test_forward_slash_includes(void) +{ +#if D3D_COMPILER_VERSION >= 46 + WCHAR filename[MAX_PATH], directory[MAX_PATH]; + ID3D10Blob *blob = NULL, *errors = NULL; + HRESULT hr; + static const char ps_code[] = + "#include \"include1.h\"\n"
What happens if this path contains a / or \\, and the target contains another #include? Where would the inner include look? (Fair chance that's out of scope for this MR, though.) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10662#note_136215