diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 62f1609d6fb212..e6946a236a7a0d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -293,7 +293,7 @@ jobs: cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 + - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7 - name: Set up dependencies shell: pwsh run: pip install meson ninja @@ -321,7 +321,7 @@ jobs: cancel-in-progress: ${{ needs.ci-config.outputs.skip_concurrent == 'yes' }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 + - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7 - name: Set up dependencies shell: pwsh run: pip install meson ninja diff --git a/compat/mingw.c b/compat/mingw.c index fbd118b5937a35..e5c15dbc7d0e24 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -1171,7 +1171,11 @@ ssize_t mingw_write(int fd, const void *buf, size_t len) int mingw_access(const char *filename, int mode) { wchar_t wfilename[MAX_LONG_PATH]; - if (!strcmp("nul", filename) || !strcmp("/dev/null", filename)) + /* + * Cannot use fspathcmp() here, this function is called _while reading + * the config_. + */ + if (!strcasecmp("nul", filename) || !strcmp("/dev/null", filename)) return 0; if (xutftowcs_long_path(wfilename, filename) < 0) return -1;