diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-06-05 12:06:47 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-06-05 12:06:47 +0100 |
commit | f1c2dde13bf1ca59a466cfed2f2d2076c06b235f (patch) | |
tree | 3c8ef58913108a1b5da66dc0431127cc655851a7 /desktop/gui_factory.c | |
parent | 80bee65a71a7e85cb800e5d1d1f58525c855cb09 (diff) | |
download | netsurf-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/gui_factory.c')
-rw-r--r-- | desktop/gui_factory.c | 9 |
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; } |