From 0b455160097e8a9b31b98107c2f6b59c2a1ef40e Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Mon, 15 May 1995 00:03:32 +0000 Subject: [PATCH] End of listcan be not marked, fix it Submitted by: Kai Vorma --- usr.bin/rpcgen/rpc_parse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.bin/rpcgen/rpc_parse.c b/usr.bin/rpcgen/rpc_parse.c index b78085145573..a3d461d0b90e 100644 --- a/usr.bin/rpcgen/rpc_parse.c +++ b/usr.bin/rpcgen/rpc_parse.c @@ -29,7 +29,7 @@ */ #ifndef lint /*static char sccsid[] = "from: @(#)rpc_parse.c 1.4 87/04/28 (C) 1987 SMI";*/ -static char rcsid[] = "$Id: rpc_parse.c,v 1.1 1993/09/13 23:20:16 jtc Exp $"; +static char rcsid[] = "$Id: rpc_parse.c,v 1.1 1994/08/07 18:01:32 wollman Exp $"; #endif /* @@ -165,6 +165,7 @@ def_program(defp) ptailp = &plist->next; peek(&tok); } while (tok.kind != TOK_RBRACE); + *ptailp = NULL; *vtailp = vlist; vtailp = &vlist->next; scan(TOK_RBRACE, &tok);