]> git.saurik.com Git - apple/system_cmds.git/blobdiff - zic.tproj/zic.c
system_cmds-670.1.2.tar.gz
[apple/system_cmds.git] / zic.tproj / zic.c
index 12659d048332a0733e56e9fee4a425df77942d0f..7d02a4c440f32934285a9dd9dccab4e161c4bdd6 100644 (file)
@@ -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))