Fix write() when the string being written is larger than the buffer. This broke...
authorOwen Anderson <resistor@mac.com>
Thu, 21 Aug 2008 22:39:33 +0000 (22:39 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 21 Aug 2008 22:39:33 +0000 (22:39 +0000)
commitfd2a05332a11399e08fcd8a1e952e1fc959fac5c
treeb4ce01ceb72ece95369256e9e0a6504b3599331f
parentae0218c914331510e2d7e3cda4d33d0457e2552d
Fix write() when the string being written is larger than the buffer.  This broke various ObjC testcases
with very long symbol names.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55148 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/raw_ostream.cpp