correct env size allocated, should be 0x80+3 not 80+3 as filename is 128 bytes

This commit is contained in:
Kenneth J Davis 2025-03-28 17:02:58 -04:00
parent bb8b581915
commit 868ae24d3c
No known key found for this signature in database
GPG Key ID: 59D5F216C38F11FD

View File

@ -56,10 +56,10 @@
#define CHUNK 32256
#define MAXENV 32768u
#define ENV_KEEPFREE 83 /* keep unallocated by environment variables */
#define ENV_KEEPFREE 0x83 /* keep unallocated by environment variables */
/* The '65' added to nEnvSize does not cover the additional stuff:
+ 2 bytes: number of strings
+ 80 bytes: maximum absolute filename
+ 80h bytes: maximum absolute filename
+ 1 byte: '\0'
-- 1999/04/21 ska */