diff options
| author | deraadt <deraadt@NetBSD.org> | 1994-04-07 06:52:14 +0000 |
|---|---|---|
| committer | deraadt <deraadt@NetBSD.org> | 1994-04-07 06:52:14 +0000 |
| commit | fa21a455459fa20be52c870cb82c4b2abdd38f10 (patch) | |
| tree | f622e5b25f34dacc346894c74bb3cd0ce61b0d4a /lib/libc/string/strftime.c | |
| parent | 3f5e4f423f85fb7774ba5acd9edc28ece6f20ec2 (diff) | |
fix for "%R" from <seanv@cs.uq.edu.au>
Diffstat (limited to 'lib/libc/string/strftime.c')
| -rw-r--r-- | lib/libc/string/strftime.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/string/strftime.c b/lib/libc/string/strftime.c index c4757e51839..9871e7b7b87 100644 --- a/lib/libc/string/strftime.c +++ b/lib/libc/string/strftime.c @@ -33,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)strftime.c 5.11 (Berkeley) 2/24/91";*/ -static char *rcsid = "$Id: strftime.c,v 1.4 1993/08/26 00:51:52 jtc Exp $"; +static char *rcsid = "$Id: strftime.c,v 1.5 1994/04/07 06:52:14 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -197,6 +197,7 @@ _fmt(format, t) case 'R': if (!_fmt("%H:%M", t)) return(0); + continue; case 'r': if (!_fmt(t_fmt_ampm, t)) return(0); |
