=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/limits.h,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- src/include/limits.h 2013/03/01 21:16:34 1.18 +++ src/include/limits.h 2015/01/20 22:09:50 1.19 @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.18 2013/03/01 21:16:34 guenther Exp $ */ +/* $OpenBSD: limits.h,v 1.19 2015/01/20 22:09:50 tedu Exp $ */ /* $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $ */ /* @@ -96,7 +96,7 @@ #if __XPG_VISIBLE # if __XPG_VISIBLE < 600 # define PASS_MAX 128 /* _PASSWORD_LEN from */ -# define TMP_MAX 308915776 +# define TMP_MAX 0x7fffffff /* more, but don't overflow int */ # endif # if __XPG_VISIBLE < 700