lkml.org 
[lkml]   [2001]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] net #9
Date
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:54    [W:0.034 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site