520a39efcd
Our #! line length is very short, and the naïve quoting makes it difficult to pass more complicated arguments to the programs being run. This is fine for simple interpreters, but it's often useful to pass arguments to more complicated interpreters like auth/box or awk. This change raises the limit, but also switches to tokenizing via tokenize(2), rather than hand rolled whitespace splitting. The limits chosen are arbitrary, but they leave approximately 3 KiB of stack space on 386, and 13k on amd64. This is a lot of stack used, but it should leave enough for fairly deep devtab chan stacks. |
||
---|---|---|
.. | ||
9 | ||
ape | ||
boot | ||
cmd | ||
games | ||
lib9p | ||
libaml | ||
libauth | ||
libauthsrv | ||
libavl | ||
libbin | ||
libbio | ||
libc | ||
libcomplete | ||
libcontrol | ||
libdisk | ||
libdraw | ||
libdtracy | ||
libfis | ||
libflate | ||
libframe | ||
libgeometry | ||
libhtml | ||
libhttpd | ||
libip | ||
libjson | ||
liblex | ||
libmach | ||
libmemdraw | ||
libmemlayer | ||
libmp | ||
libndb | ||
libplumb | ||
libregexp | ||
libsat | ||
libscribble | ||
libsec | ||
libstdio | ||
libString | ||
libsunrpc | ||
libthread | ||
libttf | ||
libventi | ||
mkfile | ||
mkfile.proto |