freebsd-ports/math/siag/files/patch-ae
Chris Piazza 4110f50b53 Update to 3.1.18 and un-BROKEN it.
PR:	12352
Submitted by:	Mikhail Teterin <mi@aldan.algebra.com>
1999-06-25 21:17:46 +00:00

12 lines
343 B
Plaintext

--- 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;