From f1c2dde13bf1ca59a466cfed2f2d2076c06b235f Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 5 Jun 2014 12:06:47 +0100 Subject: extend file table with mkdir all and make fs backing store use it. enable fs backing store for RISC OS. --- desktop/gui_factory.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'desktop') 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; } -- cgit v1.2.3