From 440e6c62646e1c90e9e0653e13be76ae77aa64cc Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 7 Nov 2008 15:18:11 +0000 Subject: [PATCH] Try a different fix for PR/11317: Don't ignore errors in list(). --- bin/sh/parser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/sh/parser.c b/bin/sh/parser.c index 72afc895d202..a85de7ec4f4d 100644 --- a/bin/sh/parser.c +++ b/bin/sh/parser.c @@ -1,4 +1,4 @@ -/* $NetBSD: parser.c,v 1.71 2008/11/07 15:08:43 christos Exp $ */ +/* $NetBSD: parser.c,v 1.72 2008/11/07 15:18:11 christos Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)parser.c 8.7 (Berkeley) 5/16/95"; #else -__RCSID("$NetBSD: parser.c,v 1.71 2008/11/07 15:08:43 christos Exp $"); +__RCSID("$NetBSD: parser.c,v 1.72 2008/11/07 15:18:11 christos Exp $"); #endif #endif /* not lint */ @@ -1463,7 +1463,7 @@ done: } else saveprompt = 0; - n = list(0); + n = list(oldstyle); if (oldstyle) doprompt = saveprompt;