Home » U++ Library support » U++ Core » Bug in Core/Stream.cpp
Re: Bug in Core/Stream.cpp [message #39955 is a reply to message #39946] |
Thu, 16 May 2013 10:46   |
|
Hi again,
Here is another example showing the same error in a simple file copy situation.
FileIn in(GetDataFile("TestFile.txt"));
FileOut out(GetDataFile("Copy Of TestFile.txt"));
out.Put(in);
out.Flush();
LOG("Original filesize: " << in.GetSize());
LOG("Size of Copy: " << out.GetSize());
Log output:
Original filesize: 128
Size of Copy: 4096
It works if I exchange the second parameter click with n in Stream.cpp:458
Regards,
Steffen
|
|
|
Goto Forum:
Current Time: Wed Jun 11 02:46:15 CEST 2025
Total time taken to generate the page: 0.05836 seconds
|