diff src/c-file-ptr-stream.cc @ 10315:57a59eae83cc

untabify src C++ source files
author John W. Eaton <jwe@octave.org>
date Thu, 11 Feb 2010 12:41:46 -0500
parents 5e972e2deffe
children 479cc8a0a846
line wrap: on
line diff
--- a/src/c-file-ptr-stream.cc
+++ b/src/c-file-ptr-stream.cc
@@ -73,11 +73,11 @@
 
       if (! bump
 #if defined (CXX_ISO_COMPLIANT_LIBRARY)
-	  && c != traits_type::eof ())
+          && c != traits_type::eof ())
 #else
-	  && c != EOF)
+          && c != EOF)
 #endif
-	ungetc (c, f);
+        ungetc (c, f);
 
       return c;
     }
@@ -122,15 +122,15 @@
 seekdir_to_whence (std::ios::seekdir dir)
 {
   return ((dir == std::ios::beg) ? SEEK_SET :
-	  (dir == std::ios::cur) ? SEEK_CUR :
-	  (dir == std::ios::end) ? SEEK_END :
-	  dir);
+          (dir == std::ios::cur) ? SEEK_CUR :
+          (dir == std::ios::end) ? SEEK_END :
+          dir);
 }
 
 std::streampos
 c_file_ptr_buf::seekoff (std::streamoff /* offset */,
-			 std::ios::seekdir /* dir */,
-			 std::ios::openmode)
+                         std::ios::seekdir /* dir */,
+                         std::ios::openmode)
 {
   // FIXME
 #if 0
@@ -227,11 +227,11 @@
 
       if (! bump
 #if defined (CXX_ISO_COMPLIANT_LIBRARY)
-	  && c != traits_type::eof ())
+          && c != traits_type::eof ())
 #else
-	  && c != EOF)
+          && c != EOF)
 #endif
-	gzungetc (c, f);
+        gzungetc (c, f);
 
       return c;
     }
@@ -274,8 +274,8 @@
 
 std::streampos
 c_zfile_ptr_buf::seekoff (std::streamoff /* offset */,
-			  std::ios::seekdir /* dir */,
-			  std::ios::openmode)
+                          std::ios::seekdir /* dir */,
+                          std::ios::openmode)
 {
   // FIXME
 #if 0