From owner-cvs-all@FreeBSD.ORG Thu Oct 4 16:14:49 2007 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 88B5116A417; Thu, 4 Oct 2007 16:14:49 +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 67D8F13C459; Thu, 4 Oct 2007 16:14:49 +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 l94GEnQV034016; Thu, 4 Oct 2007 16:14:49 GMT (envelope-from stefanf@repoman.freebsd.org) Received: (from stefanf@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l94GEnBH034015; Thu, 4 Oct 2007 16:14:49 GMT (envelope-from stefanf) Message-Id: <200710041614.l94GEnBH034015@repoman.freebsd.org> From: Stefan Farfeleder Date: Thu, 4 Oct 2007 16:14:49 +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 eval.c sh.1 src/tools/regression/bin/sh/builtins case1.0 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, 04 Oct 2007 16:14:49 -0000 stefanf 2007-10-04 16:14:49 UTC FreeBSD src repository Modified files: bin/sh eval.c sh.1 Added files: tools/regression/bin/sh/builtins case1.0 Log: The exit status of a case statement where none of the patterns is matched is supposed to be 0, not the status of the previous command. Reported by: Eygene Ryabinkin PR: 116559 Approved by: re (gnn) Revision Changes Path 1.54 +1 -0 src/bin/sh/eval.c 1.125 +4 -0 src/bin/sh/sh.1 1.1 +13 -0 src/tools/regression/bin/sh/builtins/case1.0 (new)