aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/raw_ostream.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-08-17 01:46:05 +0000
committerChris Lattner <sabre@nondot.org>2008-08-17 01:46:05 +0000
commit812212cdbd7e50e12ccec5e96ee91aa4d19aa867 (patch)
tree179634f591e6506c5862dca9035276f8a3a70ad6 /lib/Support/raw_ostream.cpp
parent737eac708d26ecbfa230bbe9f7d00a64c7fb8faa (diff)
downloadexternal_llvm-812212cdbd7e50e12ccec5e96ee91aa4d19aa867.tar.gz
external_llvm-812212cdbd7e50e12ccec5e96ee91aa4d19aa867.tar.bz2
external_llvm-812212cdbd7e50e12ccec5e96ee91aa4d19aa867.zip
rename OutputData to 'write' to match ostream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/raw_ostream.cpp')
-rw-r--r--lib/Support/raw_ostream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp
index ec7ac6d007..e47bccde6c 100644
--- a/lib/Support/raw_ostream.cpp
+++ b/lib/Support/raw_ostream.cpp
@@ -51,7 +51,7 @@ raw_fd_ostream::~raw_fd_ostream() {
void raw_fd_ostream::flush_impl() {
if (OutBufCur-OutBufStart)
- write(FD, OutBufStart, OutBufCur-OutBufStart);
+ ::write(FD, OutBufStart, OutBufCur-OutBufStart);
HandleFlush();
}