use of MAXPATHLEN in kernel

Roman Divacky rdivacky at freebsd.org
Sat Apr 12 10:38:35 UTC 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20080412/925adf70/attachment.pgp


More information about the freebsd-hackers mailing list