Branch: Tag:

2007-01-10

2007-01-10 17:15:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Checksum error found by Klocwork.

Rev: src/opcodes.c:1.168

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: opcodes.c,v 1.167 2005/09/03 02:41:41 grendel Exp $ + || $Id: opcodes.c,v 1.168 2007/01/10 17:15:30 grubba Exp $   */      #include "global.h"
399: Inside #if defined(PIKE_USE_MACHINE_CODE)
     #ifdef PIKE_USE_MACHINE_CODE    instrs_checksum = hashmem((const unsigned char*)instrs, sizeof(instrs), -  sizeof(instrs)); +  sizeof(struct instr));    /* fprintf(stderr, "Instruction checksum: %d\n", instrs_checksum); */   #endif /* PIKE_USE_MACHINE_CODE */