[parchive2-cvs] library/src/slice slice.cc,1.18,1.19
Status: Pre-Alpha
Brought to you by:
coppit
|
From: <co...@us...> - 2003-05-07 02:29:02
|
Update of /cvsroot/parchive2/library/src/slice
In directory sc8-pr-cvs1:/tmp/cvs-serv16438/src/slice
Modified Files:
slice.cc
Log Message:
- Fixed a bug in slice where it wasn't setting empty to false after reading
bytes in from the file. (Testing rocks!)
- Fixed test cases to compare string values instead of pointers to string
values.
Index: slice.cc
===================================================================
RCS file: /cvsroot/parchive2/library/src/slice/slice.cc,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** slice.cc 7 May 2003 01:39:22 -0000 1.18
--- slice.cc 7 May 2003 02:28:59 -0000 1.19
***************
*** 72,75 ****
--- 72,76 ----
{
in.read(slice_bytes, size);
+ empty = false;
}
|