summaryrefslogtreecommitdiffstats
path: root/math/siag/files/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'math/siag/files/patch-ae')
-rw-r--r--math/siag/files/patch-ae11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/siag/files/patch-ae b/math/siag/files/patch-ae
new file mode 100644
index 0000000..9910c3f
--- /dev/null
+++ b/math/siag/files/patch-ae
@@ -0,0 +1,11 @@
+--- siag/railway.c.orig Sun Jun 6 10:30:40 1999
++++ siag/railway.c Tue Jun 22 13:59:53 1999
+@@ -375,7 +375,7 @@
+ void ref_expander(buffer *buf, char *src, char *dest,
+ char *brk, char *tmpl, char *rng)
+ {
+- int a1_refs = buf->a1_refs;
++ int a1_refs = buf ? buf->a1_refs : 0;
+ ref_state state = REF_START;
+ char *exp;
+ char *start, *end;
OpenPOWER on IntegriCloud