From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: hps@intermeta.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net #9
Date: Wed, 30 May 2001 06:30:41 -0400 [thread overview]
Message-ID: <3B14CBD1.C4B5F169@mandrakesoft.com> (raw)
In-Reply-To: <200105300048.CAA04583@green.mif.pg.gda.pl> <9f2enn$jbr$1@forge.intermeta.de>
"Henning P. Schmiedehausen" 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...
No, the variables were and always have been arrays, not pointers.
The previous incarnation, {"","","",""}, was actually doubly lame,
because not only was it an unnecessary zeroing of the var, but using ""
causes an extra string to be generated in the output asm.
--
Jeff Garzik | Disbelief, that's why you fail.
Building 1024 |
MandrakeSoft |
prev parent reply other threads:[~2001-05-30 10:31 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-30 0:48 [PATCH] net #9 Andrzej Krzysztofowicz
2001-05-30 1:04 ` Jean Tourrilhes
2001-05-30 1:13 ` Jeff Garzik
2001-05-30 1:25 ` Jean Tourrilhes
2001-05-30 1:47 ` Jeff Garzik
2001-05-30 2:01 ` Jean Tourrilhes
2001-05-30 2:13 ` Jeff Garzik
2001-05-30 2:25 ` Jean Tourrilhes
2001-05-30 16:35 ` Hermann Himmelbauer
2001-05-30 2:13 ` Jean Tourrilhes
2001-05-30 2:17 ` Jeff Garzik
2001-05-30 9:33 ` Henning P. Schmiedehausen
2001-05-30 22:28 ` Pavel Machek
2001-05-30 9:32 ` Henning P. Schmiedehausen
2001-05-30 10:28 ` Andrzej Krzysztofowicz
2001-05-30 10:30 ` Keith Owens
2001-05-30 10:43 ` Henning P. Schmiedehausen
2001-05-30 10:30 ` Jeff Garzik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B14CBD1.C4B5F169@mandrakesoft.com \
--to=jgarzik@mandrakesoft.com \
--cc=hps@intermeta.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox