From d7f479070e6a198084f92e77c26b9bb0e8cab471 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Sat, 13 Sep 2014 14:15:01 +0200 Subject: Replace default posix file handling table with GEMDOS compatible one Since build #1917, URL to path conversion was broken. Thanks to Peter for reporting the bug. Most of the path handling code was taken from the windows frontend. Note: - NetSurf core switched to an file handling table with default posix compatible functions. - The atari frontend always uses GEMDOS compatible path like: "u:\folder\1", even when running on top of FreeMiNT environment. --- atari/file.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 atari/file.h (limited to 'atari/file.h') diff --git a/atari/file.h b/atari/file.h new file mode 100644 index 000000000..4428f2e82 --- /dev/null +++ b/atari/file.h @@ -0,0 +1,27 @@ +/* + * Copyright 2014 Ole Loots + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * NetSurf is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * NetSurf is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef FILE_C_INCLUDED +#define FILE_C_INCLUDED + +#include "utils/file.h" + +struct gui_file_table *atari_file_table; + + +#endif // FILE_C_INCLUDED -- cgit v1.2.3