diff options
author | des <des@FreeBSD.org> | 1998-07-09 22:51:59 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 1998-07-09 22:51:59 +0000 |
commit | 39b76225e43bce15a82afcacad02d6138d79a246 (patch) | |
tree | a884621b82fded220d57abc6c777c90ee8255303 /usr.bin/at/parsetime.c | |
parent | bb067f280e4cfe74b5cbd09da72a0c1ae5737322 (diff) | |
download | FreeBSD-src-39b76225e43bce15a82afcacad02d6138d79a246.zip FreeBSD-src-39b76225e43bce15a82afcacad02d6138d79a246.tar.gz |
Recognize long month names in addition to short ones.
PR: bin/7228
Submitted by: Archie Cobbs <archie@whistle.com>
Diffstat (limited to 'usr.bin/at/parsetime.c')
-rw-r--r-- | usr.bin/at/parsetime.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.bin/at/parsetime.c b/usr.bin/at/parsetime.c index ec3ca60..ed6ba23 100644 --- a/usr.bin/at/parsetime.c +++ b/usr.bin/at/parsetime.c @@ -103,6 +103,18 @@ struct { { "oct", OCT,0 }, { "nov", NOV,0 }, { "dec", DEC,0 }, + { "january", JAN,0 }, + { "february", FEB,0 }, + { "march", MAR,0 }, + { "april", APR,0 }, + { "may", MAY,0 }, + { "june", JUN,0 }, + { "july", JUL,0 }, + { "august", AUG,0 }, + { "september", SEP,0 }, + { "october", OCT,0 }, + { "november", NOV,0 }, + { "december", DEC,0 }, { "sunday", SUN, 0 }, { "sun", SUN, 0 }, { "monday", MON, 0 }, @@ -131,7 +143,7 @@ static size_t sc_len; /* scanner - lenght of token buffer */ static int sc_tokid; /* scanner - token id */ static int sc_tokplur; /* scanner - is token plural? */ -static char rcsid[] = "$Id: parsetime.c,v 1.11 1997/06/24 06:26:32 charnier Exp $"; +static char rcsid[] = "$Id: parsetime.c,v 1.12 1998/05/05 01:53:15 alex Exp $"; /* Local functions */ |