From 3d60bee8a4dbdace7e51f893cf9a1af551c1989c Mon Sep 17 00:00:00 2001 From: Hubert Maier Date: Tue, 8 Oct 2019 08:52:48 +0200 Subject: JANITORIAL: Add more info to track it down later --- backends/fs/amigaos4/amigaos4-fs.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backends/fs/amigaos4/amigaos4-fs.cpp b/backends/fs/amigaos4/amigaos4-fs.cpp index 1e7584062c..c6261cf39d 100644 --- a/backends/fs/amigaos4/amigaos4-fs.cpp +++ b/backends/fs/amigaos4/amigaos4-fs.cpp @@ -69,6 +69,10 @@ AmigaOSFilesystemNode::AmigaOSFilesystemNode() { AmigaOSFilesystemNode::AmigaOSFilesystemNode(const Common::String &p) { ENTER(); + // WORKAROUND: + // This is a bug in AmigaOS4 newlib.library 53.30 and lower. + // It will be removed once a fixed version is available to public. + // DESCRIPTION: // We need to explicitly open dos.library and its IDOS interface. // Otherwise we will hit an IDOS NULL pointer after compiling a // shared binary with (shared) plugins. @@ -113,6 +117,7 @@ AmigaOSFilesystemNode::AmigaOSFilesystemNode(const Common::String &p) { IDOS->FreeDosObject(DOS_EXAMINEDATA, pExd); } + // WORKAROUND: // Close dos.library and its IDOS interface again. IExec->DropInterface((struct Interface *)IDOS); IExec->CloseLibrary(DOSBase); -- cgit v1.2.3