Date: Fri, 23 Jul 1999 11:08:28 -0600 From: "Justin T. Gibbs" <gibbs@caspian.plutotech.com> To: Brian Feldman <green@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/inetd builtins.c Message-ID: <199907231708.LAA12707@caspian.plutotech.com> In-Reply-To: Your message of "Fri, 23 Jul 1999 08:49:14 PDT." <199907231549.IAA71557@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>green 1999/07/23 08:49:14 PDT > > Modified files: > usr.sbin/inetd builtins.c > Log: > Ahem. Put things back a bit. I declare variables in the scope they're > used! I don't declare every variable at the top of a function because > that wastes stack space. I've clarified the error a bit (for if asprintf() > filas.) The stack space usage is usually the same (depends on the compiler), but semantically limiting the scope of the variable to just the area where it is used is, IMO, advantageous from a maintenance standpoint. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907231708.LAA12707>