projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27e1921
)
Fix a bug in my previous change to this, which broke the build on sparcs.
author
Chris Lattner
<sabre@nondot.org>
Mon, 14 Feb 2005 21:42:10 +0000
(21:42 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 14 Feb 2005 21:42:10 +0000
(21:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20184
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Unix/Unix.h
patch
|
blob
|
history
diff --git
a/lib/System/Unix/Unix.h
b/lib/System/Unix/Unix.h
index 75009d0746e5f1d031165397d5bae644881c4a72..2f57b68c8eb5406713d301cac46c8d22d698bddc 100644
(file)
--- a/
lib/System/Unix/Unix.h
+++ b/
lib/System/Unix/Unix.h
@@
-77,7
+77,7
@@
inline void ThrowErrno(const std::string& prefix) {
// Copy the thread un-safe result of strerror into
// the buffer as fast as possible to minimize impact
// of collision of strerror in multiple threads.
- if (
E
rrno)
+ if (
e
rrno)
strncpy(buffer,strerror(errno),MAXPATHLEN-1);
buffer[MAXPATHLEN-1] = 0;
#else