Subversion Repositories Kolibri OS

Rev

Rev 7985 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7985 Rev 8383
Line 1... Line 1...
1
//visual text comparer 
1
//visual text comparer 
2
//by den po - jdp@bk.ru
2
//by den po - jdp@bk.ru
Line 3... Line 3...
3
 
3
 
4
#define MEMSIZE 4096 * 60
4
#define MEMSIZE 4096 * 60
5
#include "../lib/io.h"
5
#include "../lib/fs.h"
6
#include "../lib/strings.h"
6
#include "../lib/strings.h"
7
#include "../lib/obj/console.h"
-
 
Line 8... Line 7...
8
IO io1, io2;
7
#include "../lib/obj/console.h"
Line 9... Line 8...
9
 
8
 
10
#define MAX_PATH 260
9
#define MAX_PATH 260
Line 90... Line 89...
90
	int bs,bd,bsc,bdc,bsp,bdp;
89
	int bs,bd,bsc,bdc,bsp,bdp;
91
	int cache[256];
90
	int cache[256];
92
	char s1;
91
	char s1;
93
	int s2;
92
	int s2;
Line 94... Line 93...
94
 
93
 
95
	srcfile = io1.read(srcfilename);
94
	read_file(srcfilename, #srcfile, #srcfilesize);
96
	dstfile = io2.read(dstfilename);
-
 
97
 
-
 
98
	srcfilesize = io1.FILES_SIZE;
-
 
Line 99... Line 95...
99
	dstfilesize = io2.FILES_SIZE;
95
	read_file(dstfilename, #dstfile, #dstfilesize);
100
 
96
 
Line 101... Line 97...
101
	if (!srcfile) die("'First file not found' -E"); 
97
	if (!srcfile) die("'First file not found' -E");