diff --git a/src/sys/file.cpp b/src/sys/file.cpp index 6277bdaa..06e5bf6e 100644 --- a/src/sys/file.cpp +++ b/src/sys/file.cpp @@ -84,8 +84,7 @@ class FileData ret.Resize(oldsize + done); memcpy(&ret[oldsize], &buf[0], done); - /* XXX: we could resize the buffer here - * buf.Resize(buf.Count() * 3 / 2); */ + buf.Resize(buf.Count() * 3 / 2); } return ret; }