From owner-cvs-all@FreeBSD.ORG Sat May 28 22:42:41 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C656916A41C; Sat, 28 May 2005 22:42:41 +0000 (GMT) (envelope-from gad@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4ECF43D1D; Sat, 28 May 2005 22:42:41 +0000 (GMT) (envelope-from gad@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j4SMgfAO032415; Sat, 28 May 2005 22:42:41 GMT (envelope-from gad@repoman.freebsd.org) Received: (from gad@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4SMgfBD032414; Sat, 28 May 2005 22:42:41 GMT (envelope-from gad) Message-Id: <200505282242.j4SMgfBD032414@repoman.freebsd.org> From: Garance A Drosehn Date: Sat, 28 May 2005 22:42:41 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern imgact_shell.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2005 22:42:42 -0000 gad 2005-05-28 22:42:41 UTC FreeBSD src repository Modified files: sys/kern imgact_shell.c Log: Change the way options are parsed on the `#!'-line of a shell-script. Instead of having the kernel parse that line and add an entry to the argument list for each 'separate word' it finds, have it add only one entry which holds all the words found on that line. The old behavior is useful in some situations, but it does not match the way any other operating system will parse that line. This has been discussed in the thread "Bug in #! processing - One More Time" on the freebsd-arch mailing list (starting back on Feb 24, 2005). The first few messages in that thread provide the background in much detail. PR: 16393 Reviewed by: freebsd-arch Revision Changes Path 1.33 +174 -7 src/sys/kern/imgact_shell.c