From 003cab401caad41dceedb3663e5bc22ee0e9c398 Mon Sep 17 00:00:00 2001
From: Andrew Hodgkinson <ahodgkin@gitlab.riscosopen.org>
Date: Mon, 22 Sep 1997 16:34:28 +0000
Subject: [PATCH] Forgot to mention the important bit - Choices and Controls
 are now *not* loaded into a malloc block, and chf/cof have been removed. This
 is because the length of the message file is indeterminate when loaded by
 MessageTrans; precisely what MessageTrans does with it on loading is
 unspecified in the

PRMs. MessageTrans_FileInfo could imply that the size required for the file
may not be the same as the actual file size on disc... so the save choices
routine now loads a copy as it needs it.
---
 c/Main | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/c/Main b/c/Main
index f96827e..d56a44d 100644
--- a/c/Main
+++ b/c/Main
@@ -1337,7 +1337,7 @@ int main(int argc, char * argv[])
 
   #ifndef REMOTE_HOTLIST
 
-    /* Save the hotlist */
+    /* Save the hotlist, if required */
 
     #ifdef TRACE
       if (tl & (1u<<5)) Printf("main: Calling hotlist_save\n");
@@ -1347,7 +1347,7 @@ int main(int argc, char * argv[])
 
   #endif
 
-  /* Save the global history */
+  /* Save the global history, if required */
 
   #ifdef TRACE
     if (tl & (1u<<5)) Printf("main: Calling history_save\n");
-- 
GitLab