diff options
author | Miles Bader <miles@gnu.org> | 1996-07-26 04:04:02 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-07-26 04:04:02 +0000 |
commit | e1594a9f885d5c8ace887bf8846232a56aa09bae (patch) | |
tree | 8f638b6707545eca0b3e5b34fee229205d53ec45 | |
parent | 3f7ad7686e9c7a32710134ae889b173d99cc79f0 (diff) |
(fmt_past_time): Terminate SEPS.
-rw-r--r-- | libshouldbeinlibc/timefmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libshouldbeinlibc/timefmt.c b/libshouldbeinlibc/timefmt.c index 19a6a03a..21c5c79c 100644 --- a/libshouldbeinlibc/timefmt.c +++ b/libshouldbeinlibc/timefmt.c @@ -283,7 +283,7 @@ fmt_past_time (struct timeval *tv, struct timeval *now, { static char *time_fmts[] = { "%-r", "%-l:%M%p", "%-l%p", 0 }; static char *week_fmts[] = { "%A", "%a", 0 }; - static char *month_fmts[] = { "%A, %-d", "%a, %-d", "%a %-d", "%a%-d", 0 }; + static char *month_fmts[] = { "%A %-d", "%a %-d", "%a%-d", 0 }; static char *date_fmts[] = { "%A, %-d %B", "%a, %-d %b", "%-d %B", "%-d %b", "%-d%b", 0 }; static char *year_fmts[] = @@ -313,7 +313,7 @@ fmt_past_time (struct timeval *tv, struct timeval *now, } else { - static char *seps[] = { ", ", " ", "" }; + static char *seps[] = { ", ", " ", "", 0 }; char **fmt, **dfmt, **dfmts, **sep; if (diff < WEEK) |