openbsd-ports/math/xspread/patches/patch-interp_c
pvalchev 0709e3b86f Some updates from Sebastian Stark <seb@todesplanet.de>:
o put examples into ${PREFIX}/share/examples/xspread
o remove unnecessary build documentation from PLIST
o use ${MASTER_SITE_OPENBSD} since the original ftp server refuses
  anonymous connections
o add comment about license
o regen patches with update-patches
2002-11-23 07:25:59 +00:00

13 lines
417 B
Plaintext

$OpenBSD: patch-interp_c,v 1.1 2002/11/23 07:25:59 pvalchev Exp $
--- interp.c.orig Tue Nov 7 03:17:26 1995
+++ interp.c Fri Nov 22 15:31:18 2002
@@ -516,7 +516,7 @@ int mo, day, yr;
mdays[1] = 28 + (yr%4 == 0);
if (mo < 1 || mo > 12 || day < 1 || day > mdays[--mo] ||
- yr > 1999 || yr < 1970) {
+ yr > 2099 || yr < 1970) {
scerror("@dts: invalid argument");
cellerror = CELLERROR;
return(0.0);