Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 214814 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +2 lines)
Line  Link Here
0
-- a/src/basicio.cpp
0
++ b/src/basicio.cpp
Lines 428-434 Link Here
428
            // Minimum size for 1st block is 32kB
428
            // Minimum size for 1st block is 32kB
429
            long size  = std::max(32768 * (1 + need / 32768), size_);
429
            long size  = std::max(32768 * (1 + need / 32768), size_);
430
            byte* data = (byte*)std::malloc(size);
430
            byte* data = (byte*)std::malloc(size);
431
            std::memcpy(data, data_, size_);
431
            memcpy(data, data_, size_);
432
            data_ = data;
432
            data_ = data;
433
            sizeAlloced_ = size;
433
            sizeAlloced_ = size;
434
            isMalloced_ = true;
434
            isMalloced_ = true;

Return to bug 214814