Commit fa712ed
committed
rtlib/dos: write NUL character when DISABLE_WCHAR is used
- ensure NUL terminating character is written on optimized
conversion from ascii to wstring in the event that the
copy is truncated - for example copying from a larger
temporary string to a fixed length wstring and
DISABLE_WCHAR is in use (previously HOST_DOS)
Conflicts:
- changelog.txt, resolved by adding changelog message to 1.10.3 section1 parent f01e5d6 commit fa712ed
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| |||
0 commit comments