Mercurial > hg > octave-nkf
diff src/c-file-ptr-stream.cc @ 11586:12df7854fa7c
strip trailing whitespace from source files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:24:59 -0500 |
parents | fd0a3ac60b0e |
children | e116dd862879 |
line wrap: on
line diff
--- a/src/c-file-ptr-stream.cc +++ b/src/c-file-ptr-stream.cc @@ -92,7 +92,7 @@ c_file_ptr_buf::pbackfail (int_type c) { #if defined (CXX_ISO_COMPLIANT_LIBRARY) - return (c != traits_type::eof () && f) ? ungetc (c, f) : + return (c != traits_type::eof () && f) ? ungetc (c, f) : traits_type::not_eof (c); #else return (c != EOF && f) ? ungetc (c, f) : EOF; @@ -149,7 +149,7 @@ c_file_ptr_buf::seekpos (std::streampos /* offset */, std::ios::openmode) { // FIXME -#if 0 +#if 0 if (f) { fseek (f, offset, SEEK_SET); @@ -252,7 +252,7 @@ c_zfile_ptr_buf::pbackfail (int_type c) { #if defined (CXX_ISO_COMPLIANT_LIBRARY) - return (c != traits_type::eof () && f) ? gzungetc (c, f) : + return (c != traits_type::eof () && f) ? gzungetc (c, f) : traits_type::not_eof (c); #else return (c != EOF && f) ? gzungetc (c, f) : EOF; @@ -300,7 +300,7 @@ c_zfile_ptr_buf::seekpos (std::streampos /* offset */, std::ios::openmode) { // FIXME -#if 0 +#if 0 if (f) { gzseek (f, offset, SEEK_SET);