From owner-svn-src-all@FreeBSD.ORG Thu Feb 26 20:59:19 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7915AC3C; Thu, 26 Feb 2015 20:59:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 64407639; Thu, 26 Feb 2015 20:59:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1QKxJPJ012900; Thu, 26 Feb 2015 20:59:19 GMT (envelope-from nwhitehorn@FreeBSD.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1QKxJQl012899; Thu, 26 Feb 2015 20:59:19 GMT (envelope-from nwhitehorn@FreeBSD.org) Message-Id: <201502262059.t1QKxJQl012899@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: nwhitehorn set sender to nwhitehorn@FreeBSD.org using -f From: Nathan Whitehorn Date: Thu, 26 Feb 2015 20:59:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r279330 - head/bin/sh X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2015 20:59:19 -0000 Author: nwhitehorn Date: Thu Feb 26 20:59:18 2015 New Revision: 279330 URL: https://svnweb.freebsd.org/changeset/base/279330 Log: Fix unitialized variable that broke sh on PowerPC starting with r278826. Modified: head/bin/sh/expand.c Modified: head/bin/sh/expand.c ============================================================================== --- head/bin/sh/expand.c Thu Feb 26 20:46:16 2015 (r279329) +++ head/bin/sh/expand.c Thu Feb 26 20:59:18 2015 (r279330) @@ -635,7 +635,7 @@ evalvar(char *p, int flag) int varlenb; int easy; int quotes = flag & (EXP_FULL | EXP_CASE); - int record; + int record = 0; varflags = (unsigned char)*p++; subtype = varflags & VSTYPE;