John-Mark Bell wrote:
> On Tue, 2009-08-11 at 18:38 +0100, Chris Young wrote:
>   
>> On Tue, 11 Aug 2009 14:03:41 +0100, John-Mark Bell wrote:
>>     
>>> snprintf(urlpath, sizeof urlpath, "file://%s/Inventory", path);
>>>
>>> Are you certain that path always begins with a '/'?
>>>       
>> Whether it does or not is irrelevant, as NetSurf always ensures there
>> are three slashes after file: (I had to write my own file: handler for
>> the Amiga port because of this)
>>     
> It's entirely relevant; this URL is never fetched. It is simply used as
> a mechanism for getting the platform-specific file path of the Inventory
> file.
>
> J.
>   
Now the revised code adds a '/' unless there is one already; I hope
that's relatively standard - ie keeps everyone happy :-)

Chris, when you've got 10 minutes spare, the Amiga search code in
gtkmain branch has now changed, it should really be checked for a
compile at the very least;

For the longer term, I was looking at alternative ways to compile for
Amiga I see there's Aros, is that a worthwhile environment to organise
for testing NetSurf in Amiga?

Best regards

Mark

http://www.halloit.com

Key ID 046B65CF


Reply via email to