From 132a718bfb9e44a49b5eaecaf21530b463663308 Mon Sep 17 00:00:00 2001 From: "andy@galois.com" Date: Wed, 13 Dec 2006 16:06:01 +0000 Subject: [PATCH] fixing obvious typo in darwin_HOST_OS code (currently does not compile). --- rts/Linker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rts/Linker.c b/rts/Linker.c index bd0b543..b1bfd7d 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -1286,7 +1286,7 @@ loadObj( char *path ) // reading the file, and then we misalign oc->image on purpose so // that the actual sections end up aligned again. oc->misalignment = machoGetMisalignment(f); - oc->image = stgMallocBytes(oc->fileSize + misalignment, "loadObj(image)"); + oc->image = stgMallocBytes(oc->fileSize + oc->misalignment, "loadObj(image)"); # else oc->image = stgMallocBytes(oc->fileSize, "loadObj(image)"); # endif -- 1.7.10.4