Mercurial > dovecot > original-hg > dovecot-1.2
changeset 3206:6400a517f087 HEAD
Limit TIME_T_MAX_BITS to 40.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 15 Mar 2005 00:29:39 +0200 |
parents | 0ddbe4de5a84 |
children | 605c71410c67 |
files | configure.in |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Mon Mar 14 23:44:52 2005 +0200 +++ b/configure.in Tue Mar 15 00:29:39 2005 +0200 @@ -649,6 +649,12 @@ break; } } + if (bits > 40) { + /* Solaris 9 breaks after 55 bits. Perhaps other systems break earlier. + Let's just do the same as Cyrus folks and limit it to 40 bits. */ + bits = 40; + } + f = fopen("conftest.temp", "w"); if (f == NULL) { perror("fopen()");