Searched hist:9203 (Results 1 - 1 of 1) sorted by relevance

/gem5/src/mem/
H A Dabstract_mem.cc9203:939077a54014 Mon Sep 10 11:57:00 EDT 2012 Marco Elver <marco.elver@ed.ac.uk> Mem: Allow serializing of more than INT_MAX bytes

Despite gzwrite taking an unsigned for length, it returns an int for
bytes written; gzwrite fails if (int)len < 0. Because of this, call
gzwrite with len no larger than INT_MAX: write in blocks of INT_MAX if
data to be written is larger than INT_MAX.

Completed in 13 milliseconds