Closed salva-rczero closed 6 months ago
Fish, you're up late tonight. Me, too. :)
The key is to avoid to update IMAP_SIZE if you need a new one:
#define IMAP_SIZE \
( sizeof(sysblk.imap01) \
+ sizeof(sysblk.imapa4) \
+ sizeof(sysblk.imapa5) \
...
that I forget in my first addition of imape7, imape7T.
So, IMAP_SIZE must to be carefully, and manually, maintained. While sizeof sysblk.imaps is done automatically by the compiler.
I agree that it is not a very frequent change, but after many decades supporting a large installation, I learned that many errors are due to the data structures and not so much to the code.
Merged!
An attempt to use strucs within structs, to avoid hardcode in IMAP_FIRST & IMAP_SIZE.