Mercurial > hg > truffle
comparison src/share/vm/utilities/xmlstream.cpp @ 222:2a1a77d3458f
6718676: putback for 6604014 is incomplete
Reviewed-by: kvn, jrose
author | never |
---|---|
date | Tue, 24 Jun 2008 16:00:14 -0700 |
parents | a61af66fc99e |
children | cff162798819 |
comparison
equal
deleted
inserted
replaced
221:1e026f8da827 | 222:2a1a77d3458f |
---|---|
57 // Pass the given chars directly to _out. | 57 // Pass the given chars directly to _out. |
58 void xmlStream::write(const char* s, size_t len) { | 58 void xmlStream::write(const char* s, size_t len) { |
59 if (!is_open()) return; | 59 if (!is_open()) return; |
60 | 60 |
61 out()->write(s, len); | 61 out()->write(s, len); |
62 update_position(s, len); | |
62 } | 63 } |
63 | 64 |
64 | 65 |
65 // Pass the given chars directly to _out, except that | 66 // Pass the given chars directly to _out, except that |
66 // we watch for special "<&>" chars. | 67 // we watch for special "<&>" chars. |