Re: [PATCH] net #9

Henning P. Schmiedehausen
2001-05-30T10:46:18Z

Keith Owens <kaos@ocs.com.au> writes:

>On Wed, 30 May 2001 09:32:39 +0000 (UTC),
>"Henning P. Schmiedehausen" <mailgate@hometree.net> wrote:
>>Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl> writes:
>>
>>>-static char name[4][IFNAMSIZ] = { "", "", "", "" };
>>
>>>+static char name[4][IFNAMSIZ];
>>
>>Ugh. Sure about that one? the variables have been pointers to zero,
>>now they're zero...

>Bzzt. Arrays and pointers are not always equivalent. This code

yeah, you're right. I got fooled by the fact that these are already
arrays, not initialized pointers.

There _is_ a point for Java in this. ;-)

Regards
Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH hps@intermeta.de

Am Schwabachgrund 22 Fon.: 09131 / 50654-0 info@intermeta.de
D-91054 Buckenhof Fax.: 09131 / 50654-20