diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2007-12-03 10:45:44 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2007-12-03 10:45:44 +0000 |
commit | e8f7de4bed29ada032b34d1352a0cc6f96b7fc5c (patch) | |
tree | e20b0f790cd464ffdc4fd30680448099bf970dfc /usr.sbin/zic | |
parent | 3ab065b6e3b93def1a0d895c8ad0329c717a7a02 (diff) | |
download | src-e8f7de4bed29ada032b34d1352a0cc6f96b7fc5c.tar.gz src-e8f7de4bed29ada032b34d1352a0cc6f96b7fc5c.zip |
Notes
Diffstat (limited to 'usr.sbin/zic')
-rw-r--r-- | usr.sbin/zic/zic.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/zic/zic.c b/usr.sbin/zic/zic.c index 4e235b00bb42..10d79a898a2c 100644 --- a/usr.sbin/zic/zic.c +++ b/usr.sbin/zic/zic.c @@ -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)) |