Wed Jun 12 01:30:22 2013 UTC ()
revert the previous (wrong branch)


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

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

--- src/lib/libutil/parsedate.y 2013/06/12 01:09:33 1.10.6.4
+++ src/lib/libutil/parsedate.y 2013/06/12 01:30:21 1.10.6.5
@@ -2,31 +2,26 @@ @@ -2,31 +2,26 @@
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 
20#include <stdio.h> 15#include <stdio.h>
21#include <ctype.h> 16#include <ctype.h>
22#include <errno.h> 17#include <errno.h>
23#include <string.h> 18#include <string.h>
24#include <time.h> 19#include <time.h>
25#include <util.h> 20#include <util.h>
26#include <stdlib.h> 21#include <stdlib.h>
27 22
28/* NOTES on rebuilding parsedate.c (particularly for inclusion in CVS 23/* NOTES on rebuilding parsedate.c (particularly for inclusion in CVS
29 releases): 24 releases):
30 25
31 We don't want to mess with all the portability hassles of alloca. 26 We don't want to mess with all the portability hassles of alloca.
32 In particular, most (all?) versions of bison will use alloca in 27 In particular, most (all?) versions of bison will use alloca in