Comment #0 by moonlightsentinel — 2022-04-15T21:34:18Z
Trying to write the binary to an existing directory with -of yields a broken error message:
---
mkdir src
dmd -c -of=src stuff.d
---
Error: Error writing file ' '
Note the ' ' instead of 'src'.
This is a regression introduced by https://github.com/dlang/dmd/pull/9751
Comment #1 by dlang-bot — 2022-04-15T21:57:28Z
@MoonlightSentinel created dlang/dmd pull request #13987 "Fix 23019 - Use proper format spec when reporting file errors" fixing this issue:
- Fix 23019 - Use proper format spec when reporting file errors
The code used `*.` instead of `.*`.
https://github.com/dlang/dmd/pull/13987
Comment #2 by dlang-bot — 2022-04-15T22:41:24Z
dlang/dmd pull request #13987 "Fix 23019 - Use proper format spec when reporting file errors" was merged into stable:
- 6616bec457154d1bfff72143ecdfcf9a7ea6caff by MoonlightSentinel:
Fix 23019 - Use proper format spec when reporting file errors
The code used `*.` instead of `.*`.
https://github.com/dlang/dmd/pull/13987
Comment #3 by dlang-bot — 2022-04-22T21:59:55Z
dlang/dmd pull request #14020 "merge stable" was merged into master:
- eb081300de52b8d3f23cda8ba541c04bcc851dc1 by MoonlightSentinel:
Fix 23019 - Use proper format spec when reporting file errors
The code used `*.` instead of `.*`.
https://github.com/dlang/dmd/pull/14020