Skip to content
Commit 743dd2cd authored by Chris Lattner's avatar Chris Lattner
Browse files

If errno is zero strerror_r does not modify the buffer, leaving it unterminated.

This causes garbage to be printed out after error messages.

llvm-svn: 20165
parent e14babd1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment