From owner-freebsd-current Mon Feb 8 09:58:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA05313 for freebsd-current-outgoing; Mon, 8 Feb 1999 09:58:09 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from bubba.whistle.com (s205m7.whistle.com [207.76.205.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA05307 for ; Mon, 8 Feb 1999 09:58:06 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id JAA26964; Mon, 8 Feb 1999 09:57:48 -0800 (PST) From: Archie Cobbs Message-Id: <199902081757.JAA26964@bubba.whistle.com> Subject: Re: imgact_shell.c ENOEXEC In-Reply-To: <14012.34942.338695.378661@avalon.east> from Tony Kimball at "Feb 6, 99 12:39:21 pm" To: alk@pobox.com Date: Mon, 8 Feb 1999 09:57:48 -0800 (PST) Cc: zach@uffdaonline.net, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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