aboutsummaryrefslogtreecommitdiff
path: root/src/unit/file.unit
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-07-31 20:51:28 +0000
committerMike Buland <eichlan@xagasoft.com>2009-07-31 20:51:28 +0000
commitfbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a (patch)
tree4631e5b990624694b3576b037500603abce7ab8a /src/unit/file.unit
parent17ec138bb159df52fb07f2f3ba47816d58cc194e (diff)
downloadlibbu++-fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a.tar.gz
libbu++-fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a.tar.bz2
libbu++-fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a.tar.xz
libbu++-fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a.zip
I switched the Bu::Stream::isEOS function to be named Bu::Stream::isEos, and
also made sure the copyright is at the top of all the files, it's been too long. Anyway, this may effect some code, but not much, and it's an easy enough fix.
Diffstat (limited to 'src/unit/file.unit')
-rw-r--r--src/unit/file.unit4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unit/file.unit b/src/unit/file.unit
index e6320ad..911d8f6 100644
--- a/src/unit/file.unit
+++ b/src/unit/file.unit
@@ -48,7 +48,7 @@
48 if( s < 50 ) 48 if( s < 50 )
49 { 49 {
50 unitTest( total == 256 ); 50 unitTest( total == 256 );
51 unitTest( sf.isEOS() == true ); 51 unitTest( sf.isEos() == true );
52 break; 52 break;
53 } 53 }
54 } 54 }
@@ -75,7 +75,7 @@
75 int r = sf.read( buf, 256 ); 75 int r = sf.read( buf, 256 );
76 unitTest( r == 256 ); 76 unitTest( r == 256 );
77 // You have to read past the end to set the EOS flag. 77 // You have to read past the end to set the EOS flag.
78 unitTest( sf.isEOS() == false ); 78 unitTest( sf.isEos() == false );
79 try 79 try
80 { 80 {
81 if( sf.read( buf, 5 ) > 0 ) 81 if( sf.read( buf, 5 ) > 0 )