about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorSimonas Kazlauskas <git@kazlauskas.me>2015-08-25 18:26:29 +0300
committerSimonas Kazlauskas <git@kazlauskas.me>2015-08-25 18:33:39 +0300
commitc4c533a2935f1e39ef94920d9f1430ba75c69376 (patch)
tree0dff24b06a98017e2391a565c1141afd22ee6124 /src/libstd/sys/unix/stack_overflow.rs
parent2b45a0d90853deca584a28a55237d996a274a833 (diff)
downloadrust-c4c533a2935f1e39ef94920d9f1430ba75c69376.tar.gz
rust-c4c533a2935f1e39ef94920d9f1430ba75c69376.zip
Do not recalculate string length in error_string
According to https://msdn.microsoft.com/en-us/library/windows/desktop/ms679351(v=vs.85).aspx:

> If the function succeeds, the return value is the number of TCHARs stored in the output buffer,
> excluding the terminating null character.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions