-/* $NetBSD: getpar.c,v 1.9 2002/02/26 02:37:28 wiz Exp $ */
+/* $NetBSD: getpar.c,v 1.10 2002/10/18 14:12:14 itojun Exp $ */
/*
* Copyright (c) 1980, 1993
#if 0
static char sccsid[] = "@(#)getpar.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: getpar.c,v 1.9 2002/02/26 02:37:28 wiz Exp $");
+__RCSID("$NetBSD: getpar.c,v 1.10 2002/10/18 14:12:14 itojun Exp $");
#endif
#endif /* not lint */
if (f)
cgetc(0); /* throw out the newline */
scanf("%*[ \t;]");
- if ((c = scanf("%[^ \t;\n]", input)) < 0)
+ if ((c = scanf("%99[^ \t;\n]", input)) < 0)
exit(1);
if (c == 0)
continue;