From owner-cvs-all@FreeBSD.ORG Thu May 15 19:55:27 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CABB1065673; Thu, 15 May 2008 19:55:27 +0000 (UTC) (envelope-from stefanf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 627618FC14; Thu, 15 May 2008 19:55:27 +0000 (UTC) (envelope-from stefanf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m4FJtRKk099379; Thu, 15 May 2008 19:55:27 GMT (envelope-from stefanf@repoman.freebsd.org) Received: (from stefanf@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4FJtRMb099378; Thu, 15 May 2008 19:55:27 GMT (envelope-from stefanf) Message-Id: <200805151955.m4FJtRMb099378@repoman.freebsd.org> From: Stefan Farfeleder Date: Thu, 15 May 2008 19:55:27 +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/bin/sh expand.c parser.c parser.h 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: Thu, 15 May 2008 19:55:27 -0000 stefanf 2008-05-15 19:55:27 UTC FreeBSD src repository Modified files: bin/sh expand.c parser.c parser.h Log: Expand $LINENO to the current line number. This is required by SUSv3's "User Portability Utilities" option. Often configure scripts generated by the autotools test if $LINENO works and refuse to use /bin/sh if not. Package test run by: pav Revision Changes Path 1.53 +8 -1 src/bin/sh/expand.c 1.59 +22 -3 src/bin/sh/parser.c 1.12 +5 -3 src/bin/sh/parser.h