X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/a8daac8f698fa38f1ca3aaa2a3ed6ac20e5128e2..ef8ad44b9b5d9c6d8c0fa5b5494f449fb6717387:/zic.tproj/zic.c diff --git a/zic.tproj/zic.c b/zic.tproj/zic.c index 12659d0..7d02a4c 100644 --- a/zic.tproj/zic.c +++ b/zic.tproj/zic.c @@ -2,7 +2,7 @@ static const char elsieid[] = "@(#)zic.c 7.116"; #ifndef lint static const char rcsid[] = - "$FreeBSD: src/usr.sbin/zic/zic.c,v 1.17 2004/10/19 20:30:09 ru Exp $"; + "$FreeBSD: src/usr.sbin/zic/zic.c,v 1.18 2007/12/03 10:45:44 kevlo Exp $"; #endif /* not lint */ #include "private.h" @@ -1990,7 +1990,10 @@ register char * cp; else while ((*dp = *cp++) != '"') if (*dp != '\0') ++dp; - else error(_("odd number of quotation marks")); + else { + error(_("odd number of quotation marks")); + exit(EXIT_FAILURE); + } } while (*cp != '\0' && *cp != '#' && (!isascii(*cp) || !isspace((unsigned char) *cp))); if (isascii(*cp) && isspace((unsigned char) *cp))