On Monday 13 November 2006 21:49, Patrick R. Michaud wrote:

> On Mon, Nov 13, 2006 at 07:33:18PM -0800, [EMAIL PROTECTED] wrote:

> > Log:
> > Fix size mismatch errors, at least on Linux/PPC.  If this breaks
> > other platforms, there's a deeper bug somewhere and we need to
> > rethink t/tools/pbc_merge.t for the release.
>
> Alas, it seems to break Linux/x86_64 -- output of 'make' is below.

Too bad; I was aiming for 32-bit x86.

Does this patch do anything for you?  I sort of really hate it, but I'm 
curious about the results.

-- c

=== src/packfile.c
==================================================================
--- src/packfile.c	(revision 23702)
+++ src/packfile.c	(local)
@@ -1711,11 +1711,6 @@
         struct PackFile_Segment * const seg = dir->segments[i];
         const size_t size = seg->op_count;
         opcode_t * const ret = PackFile_Segment_pack(interp, seg, cursor);
-
-        if (!PackFile_check_segment_size(size, seg->name)) {
-            internal_exception(1, "directory_pack segment '%s' used size %d "
-                "but reported %d\n", seg->name, (int)(ret-cursor), (int)size);
-        }
         cursor += size;
     }
 

Reply via email to