Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh Initialized flag field in struct alias (Fixed PR/43281)
details: https://anonhg.NetBSD.org/src/rev/90fe1407e555
branches: trunk
changeset: 758264:90fe1407e555
user: stacktic <stacktic%NetBSD.org@localhost>
date: Fri Oct 29 17:04:48 2010 +0000
description:
Initialized flag field in struct alias (Fixed PR/43281)
diffstat:
bin/sh/alias.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r edaa859df552 -r 90fe1407e555 bin/sh/alias.c
--- a/bin/sh/alias.c Fri Oct 29 16:15:40 2010 +0000
+++ b/bin/sh/alias.c Fri Oct 29 17:04:48 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index