Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix superpmi.exe handling of exclusion lists (#62349)
superpmi.exe has the concept of an exclusion list file which is automatically read and processed when reading a .mch file. (I'm not sure if anyone actually uses it.) So, when opening a `t.mch` file, it looks for an adjacent `t.mch.exc` and then `t.exc` file. There was a bug where it would also look for a `t` file (the comments say it takes t.exc.mch and looks for t.exc, but it didn't check for that). In my case when I was testing, I actually had a `t` directory (not file), which it found, but then emitted an error trying to load. So, two fixes: 1. For `t.mch`, don't look for `t`. 2. Check all cases for being a directory, and fail if any name is a directory.
- Loading branch information