Commit ba08667
committed
lib/fmt/SystemError: remove unnecessary FormatMessageA() suffix
This causes the Windows error message to occur twice. And it causes
libfmt to crash if CP_ACP is not ASCII-compatible (e.g. codepage-932 /
shift_jis) due to our use of FormatMessageA(). See also
MusicPlayerDaemon/MPD#2305 for a discussion.
Closes MusicPlayerDaemon/MPD#23021 parent 3e43d79 commit ba08667
1 file changed
Lines changed: 2 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 17 | | |
23 | 18 | | |
24 | 19 | | |
25 | 20 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 21 | + | |
| 22 | + | |
41 | 23 | | |
42 | 24 | | |
43 | 25 | | |
0 commit comments