svn commit: r279330 - head/bin/sh
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Thu Feb 26 20:59:19 UTC 2015
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;
More information about the svn-src-head
mailing list