| commit | 23f90c1d3aefa4bfacac04cd44153f775c4e6568 | [log] [tgz] |
|---|---|---|
| author | Dan Gohman <gohman@apple.com> | Tue Aug 18 20:09:59 2009 +0000 |
| committer | Dan Gohman <gohman@apple.com> | Tue Aug 18 20:09:59 2009 +0000 |
| tree | 11d4ca4b066f099350fb8ade71de2882d98b0e49 | |
| parent | d882f4b6ffa7a449f6d61fac35db6ad59785c5ac [diff] |
Fix a bug in raw_ostream::write(char) introduced by the change to allow underlying stream classes to decline buffering. After calling SetBuffered(), re-check whether the stream is Unbuffered in order to handle the case where the underlying stream has declined buffering. llvm-svn: 79362