| 201 | } |
| 202 | |
| 203 | void File::resize(StreamOffset s) { |
| 204 | bool tempOpen = false; |
| 205 | if (!isOpen()) { |
| 206 | tempOpen = true; |
| 207 | open(mode()); |
| 208 | } |
| 209 | |
| 210 | File::resize(m_file, s); |
| 211 | |
| 212 | if (tempOpen) |
| 213 | close(); |
| 214 | } |
| 215 | |
| 216 | void File::sync() { |
| 217 | if (!m_file) |
no outgoing calls