Quoth Zach Heilig on Sat, 6 February: : On Sat, Feb 06, 1999 at 02:28:38AM -0600, Tony Kimball wrote: : > In the file of the subject, I notice this: : : > /* : > * Don't allow a shell script to be the shell for a shell : > * script. :-) : > */ : > if (imgp->interpreted) : > return(ENOEXEC); : : > Why not? I'd like to. : : Imagine this: : : $ file /tmp/test.sh : /tmp/test.sh: a /tmp/test.sh script text : $ /tmp/test.sh :
Won't this just fail when the recursion level is such that the command length exceeds stringspace? Ah, I see the difference: /* * Copy to end of token. No need to watch stringspace * because this is at the front of the string buffer * and the maximum shell command length is tiny. */ Very bogus. To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message