Module Name: src Committed By: stacktic Date: Fri Oct 29 17:04:48 UTC 2010
Modified Files: src/bin/sh: alias.c Log Message: Initialized flag field in struct alias (Fixed PR/43281) To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/bin/sh/alias.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/sh/alias.c diff -u src/bin/sh/alias.c:1.12 src/bin/sh/alias.c:1.13 --- src/bin/sh/alias.c:1.12 Thu Aug 7 09:05:29 2003 +++ src/bin/sh/alias.c Fri Oct 29 17:04:48 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: alias.c,v 1.12 2003/08/07 09:05:29 agc Exp $ */ +/* $NetBSD: alias.c,v 1.13 2010/10/29 17:04:48 stacktic Exp $ */ /*- * Copyright (c) 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)alias.c 8.3 (Berkeley) 5/4/95"; #else -__RCSID("$NetBSD: alias.c,v 1.12 2003/08/07 09:05:29 agc Exp $"); +__RCSID("$NetBSD: alias.c,v 1.13 2010/10/29 17:04:48 stacktic Exp $"); #endif #endif /* not lint */ @@ -80,6 +80,7 @@ INTOFF; ap = ckmalloc(sizeof (struct alias)); ap->name = savestr(name); + ap->flag = 0; /* * XXX - HACK: in order that the parser will not finish reading the * alias value off the input before processing the next alias, we