Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
steffen is currently offline  steffen
Messages: 38
Registered: May 2007
Location: Denmark
Member

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
 
Read Message
Read Message
Read Message
Previous Topic: Problem with XML
Next Topic: Error in XML Read
Goto Forum:
  


Current Time: Wed Jun 11 02:46:15 CEST 2025

Total time taken to generate the page: 0.05836 seconds