diff options
author | Mike Buland <eichlan@xagasoft.com> | 2009-07-31 20:51:28 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2009-07-31 20:51:28 +0000 |
commit | fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a (patch) | |
tree | 4631e5b990624694b3576b037500603abce7ab8a /src/membuf.cpp | |
parent | 17ec138bb159df52fb07f2f3ba47816d58cc194e (diff) | |
download | libbu++-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 '')
-rw-r--r-- | src/membuf.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/membuf.cpp b/src/membuf.cpp index f22a8de..11cc1bb 100644 --- a/src/membuf.cpp +++ b/src/membuf.cpp | |||
@@ -92,7 +92,7 @@ void Bu::MemBuf::setPosEnd( long pos ) | |||
92 | else if( nPos > sBuf.getSize() ) nPos = sBuf.getSize(); | 92 | else if( nPos > sBuf.getSize() ) nPos = sBuf.getSize(); |
93 | } | 93 | } |
94 | 94 | ||
95 | bool Bu::MemBuf::isEOS() | 95 | bool Bu::MemBuf::isEos() |
96 | { | 96 | { |
97 | return (nPos == sBuf.getSize()); | 97 | return (nPos == sBuf.getSize()); |
98 | } | 98 | } |
@@ -108,12 +108,12 @@ void Bu::MemBuf::flush() | |||
108 | 108 | ||
109 | bool Bu::MemBuf::canRead() | 109 | bool Bu::MemBuf::canRead() |
110 | { | 110 | { |
111 | return !isEOS(); | 111 | return !isEos(); |
112 | } | 112 | } |
113 | 113 | ||
114 | bool Bu::MemBuf::canWrite() | 114 | bool Bu::MemBuf::canWrite() |
115 | { | 115 | { |
116 | return isEOS(); | 116 | return isEos(); |
117 | } | 117 | } |
118 | 118 | ||
119 | bool Bu::MemBuf::isReadable() | 119 | bool Bu::MemBuf::isReadable() |