Hi!
11-Июн-2006 02:47 [EMAIL PROTECTED] (Blair Campbell) wrote to
[EMAIL PROTECTED]:
BC> +++ init.c 11 Jun 2006 02:47:05 -0000 1.28
BC> +static int showhelp = 0, internalBufLen = 0, inputBufLen = 0,
BC> + spawnAndExit = E_None, newEnvSize = 0, skipAUTOEXEC = 0;
BC> +/* static int newEnvSize = 0; Min environment table size */
BC> +static char *user_autoexec = 0;
Explicit (zero) initialization is affects executable size (unless
compiler is smart enough to move explicit zero-initialization to BSS
segment). So, text about should look so (if you wish to reduce executable
size in any case):
static int
showhelp /*= 0*/,
internalBufLen /*= 0*/,
inputBufLen /*= 0*/,
spawnAndExit = E_None,
newEnvSize /*= 0*/, /* Min environment table size */
skipAUTOEXEC /*= 0*/;
static char
*user_autoexec /*= 0*/;
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel