mirror of
https://github.com/FDOS/kernel.git
synced 2025-04-08 17:15:17 +02:00
correct env size allocated, should be 0x80+3 not 80+3 as filename is 128 bytes
This commit is contained in:
parent
bb8b581915
commit
868ae24d3c
@ -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 */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user