Wed Jun 12 01:09:33 2013 UTC ()
add rcsid


(yamt)
diff -r1.10.6.3 -r1.10.6.4 src/lib/libutil/parsedate.y

cvs diff -r1.10.6.3 -r1.10.6.4 src/lib/libutil/parsedate.y (expand / switch to unified diff)

--- src/lib/libutil/parsedate.y 2013/01/23 00:05:27 1.10.6.3
+++ src/lib/libutil/parsedate.y 2013/06/12 01:09:33 1.10.6.4
@@ -2,26 +2,31 @@ @@ -2,26 +2,31 @@
2/* 2/*
3** Originally written by Steven M. Bellovin <smb@research.att.com> while 3** Originally written by Steven M. Bellovin <smb@research.att.com> while
4** at the University of North Carolina at Chapel Hill. Later tweaked by 4** at the University of North Carolina at Chapel Hill. Later tweaked by
5** a couple of people on Usenet. Completely overhauled by Rich $alz 5** a couple of people on Usenet. Completely overhauled by Rich $alz
6** <rsalz@bbn.com> and Jim Berets <jberets@bbn.com> in August, 1990; 6** <rsalz@bbn.com> and Jim Berets <jberets@bbn.com> in August, 1990;
7** 7**
8** This grammar has 10 shift/reduce conflicts. 8** This grammar has 10 shift/reduce conflicts.
9** 9**
10** This code is in the public domain and has no copyright. 10** This code is in the public domain and has no copyright.
11*/ 11*/
12/* SUPPRESS 287 on yaccpar_sccsid *//* Unused static variable */ 12/* SUPPRESS 287 on yaccpar_sccsid *//* Unused static variable */
13/* SUPPRESS 288 on yyerrlab *//* Label unused */ 13/* SUPPRESS 288 on yyerrlab *//* Label unused */
14 14
 15#include <sys/cdefs.h>
 16#ifdef __RCSID
 17__RCSID("$NetBSD: parsedate.y,v 1.10.6.4 2013/06/12 01:09:33 yamt Exp $");
 18#endif
 19
15#include <stdio.h> 20#include <stdio.h>
16#include <ctype.h> 21#include <ctype.h>
17#include <errno.h> 22#include <errno.h>
18#include <string.h> 23#include <string.h>
19#include <time.h> 24#include <time.h>
20#include <util.h> 25#include <util.h>
21#include <stdlib.h> 26#include <stdlib.h>
22 27
23/* NOTES on rebuilding parsedate.c (particularly for inclusion in CVS 28/* NOTES on rebuilding parsedate.c (particularly for inclusion in CVS
24 releases): 29 releases):
25 30
26 We don't want to mess with all the portability hassles of alloca. 31 We don't want to mess with all the portability hassles of alloca.
27 In particular, most (all?) versions of bison will use alloca in 32 In particular, most (all?) versions of bison will use alloca in