diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2000-06-29 17:21:45 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2000-06-29 17:21:45 +0000 |
| commit | 849c64f5ff08b337dcc1315887f3e4d24ac18b7b (patch) | |
| tree | 072dc99780d54824e010e993744d45d1ac725d4d /lib/libc/stdtime/timelocal.c | |
| parent | 7ec62217f0c6ae4f93d175270f44d6e6b7c3aa10 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdtime/timelocal.c')
| -rw-r--r-- | lib/libc/stdtime/timelocal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdtime/timelocal.c b/lib/libc/stdtime/timelocal.c index c765cf42b72e..c7fd1bba1a7f 100644 --- a/lib/libc/stdtime/timelocal.c +++ b/lib/libc/stdtime/timelocal.c @@ -238,7 +238,7 @@ set_from_buf(const char *p, int num_lines) for (ap = (const char **) &_time_localebuf, i = 0; i < num_lines; ++ap, ++i) *ap = p += strlen(p) + 1; - if (num_lines == LCTIME_SIZE_FULL) + if (num_lines >= LCTIME_SIZE_2) return; for (i = 0; i < 12; i++) _time_localebuf.alt_month[i] = _time_localebuf.month[i]; |
