[parisc-linux] Palo: cmdline and commanline has different limits?

Joel Soete joel.soete@freebel.net
Sun, 04 Aug 2002 19:05:28 +0000


Hi Paul,

I just notice a small problem:

In palo/palo/palo.c at line 720:
	...
	if (strlen(commandline) > 255)
	...

OTC in palo/lib/common.h in struct firstblock at line 46:

     char cmdline[128];          /* Up to 127 bytes of text plus a \0 */

     unsigned char pad1[0xf0 - 8 - 7 * sizeof (int) - 128];


I do not know yet if pad1 can be removed so that cmdline could reach 204 
[240-8-7*(sizeof int = 4?)] char lenght, also I prefer to let you choise.

Joel