Subject: Re: bin/3427: sizeof() problems in cron
To: Simon Burge <firstname.lastname@example.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
Date: 04/01/1997 13:54:01
> The sizeof() operator is used incorrectly in buffer size
> calculations. I'm really not sure what the defined behaviour
> of sizeof(variable - 1) is...
Same as any sizeof(expression): the size of the type of the expression.
In these cases, since variable is a char array, variable-1 is a char *,
so sizeof(variable-1) is sizeof(char *), probably 4 or 8.
7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B