[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Strange getcwd() return value



Am Mittwoch, den 23.10.2013, 22:50 +0200 schrieb Peter Slegg <p.slegg@scubadivers.co.uk>:


I just tried Helmut's branch and it doesn't use the odd XAAES path, it uses <netsurf application folder>\usr/tmp/filename which isn't right either
but is that a Netsurf bug ?

Hm... I'm using tmpnam to create an temporary file and write the source
into that file. Using fopen and such works fine for that reason.


Interestingly the file it is trying to find is in both u:\tmp and
u:\usr\tmp but it only appears when View Source is selected.
Delete one and the other one disappears as well. Unusual.

That's probably a symlink from /usr/tmp to /tmp, or vice versa!


Netsurf still won't start from it's own folder because it cannot find
it's rsc file but as Jean-François says, it is not related.

It's definitly related to the path/file passed to rsrc_load ;)

http://git.netsurf-browser.org/netsurf.git/tree/atari/gui.c#n991

and

http://git.netsurf-browser.org/netsurf.git/tree/atari/findfile.c#n153


Greets,
Ole