Increase YR_RANGE from 88 to 4000.

This commit is contained in:
dfs
2007-07-29 03:16:40 +00:00
parent cbf12b5601
commit 785cdc8726
3 changed files with 11 additions and 16 deletions

View File

@@ -11,7 +11,7 @@
/* */
/***************************************************************/
/* $Id: custom.h,v 1.41 2007-07-13 03:43:30 dfs Exp $ */
/* $Id: custom.h,v 1.42 2007-07-29 03:16:40 dfs Exp $ */
/*---------------------------------------------------------------------*/
/* LAT_DEG, LAT_MIN and LAT_SEC: Latitude of your location */
@@ -134,13 +134,10 @@
#define BASE 1990
/*---------------------------------------------------------------------*/
/* YR_RANGE: The range of years allowed. Computers with 16-bit */
/* integers can handle about 89 years worth of reminders; if */
/* you use 32-bit integers, you can handle over 5 867 000 */
/* years. Note that YR_RANGE is set to 88 rather than 89 */
/* because we can range up to the last day of the 88th year. */
/* YR_RANGE: The range of years allowed. With 32-bit signed integers, */
/* the DATETIME type can store 2^31 minutes or about 4074 years. */
/*---------------------------------------------------------------------*/
#define YR_RANGE 88
#define YR_RANGE 4000
/*---------------------------------------------------------------------*/
/* VAR_NAME_LEN: The maximum length of variable names. Don't make it */

View File

@@ -11,7 +11,7 @@
/* */
/***************************************************************/
/* $Id: custom.h.in,v 1.10 2007-07-13 03:43:30 dfs Exp $ */
/* $Id: custom.h.in,v 1.11 2007-07-29 03:16:40 dfs Exp $ */
/*---------------------------------------------------------------------*/
/* LAT_DEG, LAT_MIN and LAT_SEC: Latitude of your location */
@@ -134,13 +134,10 @@
#define BASE 1990
/*---------------------------------------------------------------------*/
/* YR_RANGE: The range of years allowed. Computers with 16-bit */
/* integers can handle about 89 years worth of reminders; if */
/* you use 32-bit integers, you can handle over 5 867 000 */
/* years. Note that YR_RANGE is set to 88 rather than 89 */
/* because we can range up to the last day of the 88th year. */
/* YR_RANGE: The range of years allowed. With 32-bit signed integers, */
/* the DATETIME type can store 2^31 minutes or about 4074 years. */
/*---------------------------------------------------------------------*/
#define YR_RANGE 88
#define YR_RANGE 4000
/*---------------------------------------------------------------------*/
/* VAR_NAME_LEN: The maximum length of variable names. Don't make it */

View File

@@ -12,7 +12,7 @@
/***************************************************************/
#include "config.h"
static char const RCSID[] = "$Id: var.c,v 1.13 2007-07-01 20:12:16 dfs Exp $";
static char const RCSID[] = "$Id: var.c,v 1.14 2007-07-29 03:16:40 dfs Exp $";
#include <stdio.h>
#include <string.h>
@@ -454,7 +454,8 @@ typedef struct {
#define been_malloced min
/* Flag for no min/max constraint */
#define ANY 4532
#define ANY -31415926
/* All of the system variables sorted alphabetically */
static SysVar SysVarArr[] = {
/* name mod type value min/mal max */