diff options
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/gzstream.cc | 10 | ||||
-rw-r--r-- | decoder/gzstream.h | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/decoder/gzstream.cc b/decoder/gzstream.cc index aa015bff..9678355b 100644 --- a/decoder/gzstream.cc +++ b/decoder/gzstream.cc @@ -18,17 +18,17 @@ // ============================================================================ // // File : gzstream.C -// Revision : $Revision: 1.1 $ -// Revision_date : $Date: 2006/03/30 04:05:52 $ +// Revision : $Revision: 1.7 $ +// Revision_date : $Date: 2003/01/08 14:41:27 $ // Author(s) : Deepak Bandyopadhyay, Lutz Kettner // // Standard streambuf implementation following Nicolai Josuttis, "The // Standard C++ Library". // ============================================================================ -#include "gzstream.h" +#include <gzstream.h> #include <iostream> -#include <cstring> +#include <cstring> // for memcpy #include <stdexcept> #ifdef GZSTREAM_NAMESPACE @@ -96,7 +96,7 @@ int gzstreambuf::underflow() { // used for input buffer only int n_putback = gptr() - eback(); if ( n_putback > 4) n_putback = 4; - memcpy( buffer + (4 - n_putback), gptr() - n_putback, n_putback); + std::memcpy( buffer + (4 - n_putback), gptr() - n_putback, n_putback); int num = gzread( file, buffer+4, bufferSize-4); if (num <= 0) // ERROR or EOF diff --git a/decoder/gzstream.h b/decoder/gzstream.h index 5c709490..a7effd90 100644 --- a/decoder/gzstream.h +++ b/decoder/gzstream.h @@ -18,8 +18,8 @@ // ============================================================================ // // File : gzstream.h -// Revision : $Revision: 1.1 $ -// Revision_date : $Date: 2006/03/30 04:05:52 $ +// Revision : $Revision: 1.5 $ +// Revision_date : $Date: 2002/04/26 23:30:15 $ // Author(s) : Deepak Bandyopadhyay, Lutz Kettner // // Standard streambuf implementation following Nicolai Josuttis, "The |