Date: Sat, 12 Apr 2008 12:19:01 +0200 From: Roman Divacky <rdivacky@freebsd.org> To: hackers@freebsd.org Subject: use of MAXPATHLEN in kernel Message-ID: <20080412101901.GA90214@freebsd.org>
next in thread | raw e-mail | index | archive | help
--IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hi there's an awfully lot of code like char foo[MAXPATHLEN]; in the kernel. either in functions (ie. allocated on stack during runtime) or global variables. Most of the usage is without a good reason and only wastes space. should we do something about it? maybe an idea in projects/ideas webpage? thnx roman --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkgAjJUACgkQLVEj6D3CBEwycACeP+BxV36EzsVTUGXwmFmq1Y4S CO4An2Fh+V+j95XQownLBK6xujKOPS3X =U5Vm -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080412101901.GA90214>