diff --git a/src/compiler/OPV.Mod b/src/compiler/OPV.Mod index c2099cc5..31e07fd9 100644 --- a/src/compiler/OPV.Mod +++ b/src/compiler/OPV.Mod @@ -790,7 +790,7 @@ MODULE OPV; (* J. Templ 16.2.95 / 3.7.96 OPM.WriteString("__X("); OPC.Len(r.obj, r.typ, 0); OPM.WriteString(" * "); OPM.WriteInt(r.typ.BaseTyp.size); OPM.WriteString(", "); - OPM.WriteInt(l.typ.size); + OPM.WriteInt(l.typ.size+1); (* _X vaidates 0 .. n-1 so we need to +1. *) OPM.Write(")") ELSE (* Array to array copy. *) ASSERT(r.typ.comp = OPT.Array); ASSERT(r.typ.size <= l.typ.size); diff --git a/src/tools/make/configure.c b/src/tools/make/configure.c index 5865e3e0..4fde13a3 100644 --- a/src/tools/make/configure.c +++ b/src/tools/make/configure.c @@ -106,7 +106,7 @@ void determineOS() { #ifdef _WIN32 os = "windows"; platform = "windows"; binext = ".exe"; staticlink = ""; #else - os = "unknown"; platform = "unix"; binext = ""; staticlink = "-static"; + os = "unknown"; platform = "unix"; binext = ""; staticlink = " -static"; struct utsname sys; if (uname(&sys)<0) fail("Couldn't get sys name - uname() failed.");