diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-03-31 17:23:57 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-03-31 17:23:57 +0000 |
commit | eae077f1c3de8572b3616b29cd53e72ca054b280 (patch) | |
tree | 9bf840af92e910b83914716b4172f41291670871 /timezone/zic.c | |
parent | 6ce38a95a4c8318df75cf91fbd90101601b3fa7f (diff) |
Updated to fedora-glibc-20070331T1609cvs/fedora-glibc-2_5_90-20
Diffstat (limited to 'timezone/zic.c')
-rw-r--r-- | timezone/zic.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/timezone/zic.c b/timezone/zic.c index f7393ea7ba..592dfe5219 100644 --- a/timezone/zic.c +++ b/timezone/zic.c @@ -3,7 +3,7 @@ ** 2006-07-17 by Arthur David Olson. */ -static char elsieid[] = "@(#)zic.c 8.7"; +static char elsieid[] = "@(#)zic.c 8.11"; #include "private.h" #include "locale.h" @@ -2024,7 +2024,7 @@ const int zonecount; wp = ecpyalloc(_("no POSIX environment variable for zone")); wp = ecatalloc(wp, " "); - wp = ecatalloc(wp, zpfirst->z_name); + wp = ecatalloc(wp, zpfirst->z_name); warning(wp); ifree(wp); } @@ -2451,9 +2451,12 @@ register char * cp; else while ((*dp = *cp++) != '"') if (*dp != '\0') ++dp; - else error(_( + else { + error(_( "Odd number of quotation marks" )); + exit(1); + } } while (*cp != '\0' && *cp != '#' && (!isascii(*cp) || !isspace((unsigned char) *cp))); if (isascii(*cp) && isspace((unsigned char) *cp)) @@ -2641,7 +2644,7 @@ wp = _("time zone abbreviation differs from POSIX standard"); static int mkdirs(argname) -char * const argname; +char * argname; { register char * name; register char * cp; |