From owner-cvs-src-old@FreeBSD.ORG Sat Jan 1 13:27:36 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B354106566B for ; Sat, 1 Jan 2011 13:27:36 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 08DCD8FC0C for ; Sat, 1 Jan 2011 13:27:36 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p01DRZfK008522 for ; Sat, 1 Jan 2011 13:27:35 GMT (envelope-from jilles@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p01DRZ32008521 for cvs-src-old@freebsd.org; Sat, 1 Jan 2011 13:27:35 GMT (envelope-from jilles@repoman.freebsd.org) Message-Id: <201101011327.p01DRZ32008521@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jilles@repoman.freebsd.org using -f From: Jilles Tjoelker Date: Sat, 1 Jan 2011 13:26:18 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/bin/sh eval.c var.c var.h src/tools/regression/bin/sh/errors assignment-error2.0 X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2011 13:27:36 -0000 jilles 2011-01-01 13:26:18 UTC FreeBSD src repository Modified files: bin/sh eval.c var.c var.h Added files: tools/regression/bin/sh/errors assignment-error2.0 Log: SVN rev 216870 on 2011-01-01 13:26:18Z by jilles sh: Check readonly status for assignments on regular builtins. An error message is written, the builtin is not executed, nonzero exit status is returned but the shell does not abort. This was already checked for special builtins and external commands, with the same consequences except that the shell aborts for special builtins. Obtained from: NetBSD Revision Changes Path 1.98 +1 -2 src/bin/sh/eval.c 1.54 +6 -2 src/bin/sh/var.c 1.19 +2 -1 src/bin/sh/var.h 1.1 +8 -0 src/tools/regression/bin/sh/errors/assignment-error2.0 (new)