diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-04-12 01:32:25 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-04-12 01:32:25 -0700 |
commit | 99afee183225f6f33f3289030c992738ccaf13fe (patch) | |
tree | 12026f4b10984a780a5cddea2df5c5a1f131dfaf /tests/test_header_string_2.cpp | |
parent | 3da7d68617d196d76b56cff27ad565f64f87d476 (diff) |
Move zero-termination out of as_utf8_end
as_utf8_end was used with std::string, where writing an extra zero-terminating
character should *probably* always work (at least if size is positive) but is
not ideal.
The only place that needed to zero-terminate was convert_path_heap.
Diffstat (limited to 'tests/test_header_string_2.cpp')
0 files changed, 0 insertions, 0 deletions