All pastes #962159 Raw Edit

Unnamed

public cpp v1 · immutable
#962159 ·published 2008-03-29 15:23 UTC
rendered paste body
	bool diff_found = false;		for(int i = 0; i < blocksize; i++) {			char *a = new char;			char *b = new char;			source->getChar(a);			dest->getChar(b);			if(a != b) {				diff_found = true;				break;			}		}		if(diff_found)			blocks[block] = CHANGED;		else			blocks[block] = IDENTICAL;