Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 1999 09:57:48 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        alk@pobox.com
Cc:        zach@uffdaonline.net, current@FreeBSD.ORG
Subject:   Re: imgact_shell.c ENOEXEC
Message-ID:  <199902081757.JAA26964@bubba.whistle.com>
In-Reply-To: <14012.34942.338695.378661@avalon.east> from Tony Kimball at "Feb 6, 99 12:39:21 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Tony Kimball writes:
> : 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.

So file a PR, preferably with patches.. :-) Seriously, it's good
to take note of little things like this..

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902081757.JAA26964>