From a988ef60bca7412a19c3967b206d838a5903412f Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Tue, 28 Mar 2023 22:11:38 -0500 Subject: [PATCH] Document bug fix for functions run at exit in large memory model. --- cc.notes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cc.notes b/cc.notes index eee8204..7b5b14d 100644 --- a/cc.notes +++ b/cc.notes @@ -2152,6 +2152,8 @@ int foo(int[42]); 240. If a .sym file was in use, ORCA/C might not print "Including ..." messages for certain header files. +241. When using the large memory model, functions registered with atexit() (or at_quick_exit(), in ORCA/C 2.2 betas) might be called with the data bank set incorrectly, potentially causing memory corruption or other incorrect behavior. + -- Bugs from C 2.1.0 that have been fixed ----------------------------------- 1. In some situations, fread() reread the first 1K or so of the file.