Vincent Sanders
9610dbd210
remove possible null dereference on allocation faliure
...
fix null dereference is calloc fails. coverity 1316339
2016-02-09 10:31:46 +00:00
Michael Drake
050b76d49a
Handle realloc failure.
2014-09-05 23:25:43 +01:00
Vincent Sanders
f1c2dde13b
extend file table with mkdir all and make fs backing store use it.
...
enable fs backing store for RISC OS.
2014-06-05 12:06:47 +01:00
Vincent Sanders
c56642819e
add file operations table and make all frontends use it.
...
This rationalises the path construction and basename file
operations. The default implementation is POSIX which works for all
frontends except windows, riscos and amiga which have differeing path
separators and rules.
These implementations are significantly more robust than the previous
nine implementations and also do not use unsafe strncpy or buffers
with arbitrary length limits.
These implementations also carry full documentation comments.
2014-05-07 16:24:51 +01:00
Vincent Sanders
5dd6fa6f22
use compatability macro for mkdir
2014-04-28 17:38:15 +01:00
Vincent Sanders
1fd565cba7
make GTK configuration handling conform to XDG specification.
2014-04-28 16:37:00 +01:00
Michael Drake
0e4a605729
Remove unnecessary strlen.
2013-10-24 13:35:58 +01:00
Michael Drake
0c44eb081e
Free string vector correctly.
2013-10-24 12:55:48 +01:00
Vincent Sanders
c3530a0c39
make filepath_findfile() rely on realpath allocating the output buffer.
2013-05-04 16:42:00 +01:00
Vincent Sanders
ad12c46af5
remove extraneous logging
...
fix windows path_to_url coping with NULL input and allocation errors.
remove forced verbose logging
svn path=/trunk/netsurf/; revision=12147
2011-03-29 20:50:31 +00:00
Vincent Sanders
402aaeb368
make windows frontend use
...
svn path=/trunk/netsurf/; revision=12146
2011-03-29 20:38:40 +00:00
Michael Drake
66f6e9eff5
Rename utils/resource to utils/filepath to avoid confusion with resource: fetcher.
...
svn path=/trunk/netsurf/; revision=12088
2011-03-17 11:26:30 +00:00