freebsd-ports/math/xspread/files/patch-interp.c
Dmitry Marakasov f51a5a458c - Add LICENSE_FILE
- Switch to options helpers
- Regenerate patches with `make makepatch`
2016-03-28 23:04:06 +00:00

11 lines
325 B
C

--- interp.c.orig 1995-11-07 02:17:26 UTC
+++ interp.c
@@ -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);