aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_time_sup.c
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2011-12-07 16:20:58 +0100
committerBjörn-Egil Dahlberg <[email protected]>2011-12-08 14:12:04 +0100
commitdc244a2b3a9be89700f3b15013ea1f41a4016347 (patch)
tree59b26eac2d848c013424c48b2007ce27c301610a /erts/emulator/beam/erl_time_sup.c
parent46eb4359b05b220861453a869dc734480ec045a6 (diff)
downloadotp-dc244a2b3a9be89700f3b15013ea1f41a4016347.tar.gz
otp-dc244a2b3a9be89700f3b15013ea1f41a4016347.tar.bz2
otp-dc244a2b3a9be89700f3b15013ea1f41a4016347.zip
Set lower limit of years handled to 1601
Diffstat (limited to 'erts/emulator/beam/erl_time_sup.c')
-rw-r--r--erts/emulator/beam/erl_time_sup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_time_sup.c b/erts/emulator/beam/erl_time_sup.c
index 53a2ba456b..ab491036f2 100644
--- a/erts/emulator/beam/erl_time_sup.c
+++ b/erts/emulator/beam/erl_time_sup.c
@@ -583,7 +583,7 @@ static const int mdays[14] = {0, 31, 28, 31, 30, 31, 30,
(((y) % 100) != 0)) || \
(((y) % 400) == 0))
-#define BASEYEAR INT_MIN
+#define BASEYEAR 1601
/* A more "clever" mktime
* return 1, if successful