summaryrefslogtreecommitdiff
path: root/astro/sattrack/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'astro/sattrack/files/patch-ab')
-rw-r--r--astro/sattrack/files/patch-ab11
1 files changed, 11 insertions, 0 deletions
diff --git a/astro/sattrack/files/patch-ab b/astro/sattrack/files/patch-ab
new file mode 100644
index 000000000000..95b903786798
--- /dev/null
+++ b/astro/sattrack/files/patch-ab
@@ -0,0 +1,11 @@
+--- sattrack/sattime.c~ Sat Jan 4 22:19:08 1997
++++ sattrack/sattime.c Wed Jul 26 17:03:49 2000
+@@ -269,7 +269,7 @@
+ if (gdnY < 50) /* allow 4 or 2 digit year specifications */
+ gdnY += 2000;
+ else
+- if (gdnY < 100)
++ if (gdnY <= 100)
+ gdnY += 1900;
+
+ result = (long) ((((gdnY-1901)*1461) >> 2) + monthDays[gdnM-1] + gdnD+365);