summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-06-05 12:06:47 +0100
committerVincent Sanders <vince@kyllikki.org>2014-06-05 12:06:47 +0100
commitf1c2dde13bf1ca59a466cfed2f2d2076c06b235f (patch)
tree3c8ef58913108a1b5da66dc0431127cc655851a7 /desktop
parent80bee65a71a7e85cb800e5d1d1f58525c855cb09 (diff)
downloadnetsurf-f1c2dde13bf1ca59a466cfed2f2d2076c06b235f.tar.gz
netsurf-f1c2dde13bf1ca59a466cfed2f2d2076c06b235f.tar.bz2
extend file table with mkdir all and make fs backing store use it.
enable fs backing store for RISC OS.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/gui_factory.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/gui_factory.c b/desktop/gui_factory.c
index b3a27fea2..fd0867491 100644
--- a/desktop/gui_factory.c
+++ b/desktop/gui_factory.c
@@ -506,6 +506,15 @@ static nserror verify_file_register(struct gui_file_table *gft)
if (gft->basename == NULL) {
return NSERROR_BAD_PARAMETER;
}
+ if (gft->nsurl_to_path == NULL) {
+ return NSERROR_BAD_PARAMETER;
+ }
+ if (gft->path_to_nsurl == NULL) {
+ return NSERROR_BAD_PARAMETER;
+ }
+ if (gft->mkdir_all == NULL) {
+ return NSERROR_BAD_PARAMETER;
+ }
return NSERROR_OK;
}