View Full Version : Testing ClanLib 0.9 CL_PathHelp
rombust
07-18-2007, 02:27 PM
I am testing ClanLib 0.9 CL_PathHelp on linux
Pasting the output of my test program here for the clanlib IRC
rombust
07-20-2007, 11:06 AM
Fixed problems with CL_PathHelp.
There are further problems, see
//TODO: WIN32
In this file: "Sources/Core/IOData/path_help.cpp"
Attached is the CL_PathHelp test program and output (as run on linux)
rombust
07-23-2007, 12:03 PM
Just a further note. This can be easily seen from the windows platform:
Using the Tests/Button1 example:
In CL_PNGProvider_Impl::init()
Insert a breakpoint at:
input_source = directory.open_file(filename, CL_File::open_existing, CL_File::access_read, CL_File::share_read);
Step into open_file()
As impl->file_system.is_null() returns false,
This is called:
CL_PathHelp::make_absolute(impl->base_path, relative_path, CL_PathHelp::path_type_virtual);
As the path type is virtual and not path_type_file, "..\Images\pic.png" is not translated correctly.
rombust
07-24-2007, 11:36 AM
Fixed in SVN
A test suite is now in SVN (See Tests/Core/IOData)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.