decrease c-- app size

git-svn-id: svn://kolibrios.org@8383 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2020-12-13 01:21:31 +00:00
parent afa42a24be
commit 9d28bd0e9d
6 changed files with 19 additions and 17 deletions

View File

@@ -2,10 +2,9 @@
//by den po - jdp@bk.ru
#define MEMSIZE 4096 * 60
#include "../lib/io.h"
#include "../lib/fs.h"
#include "../lib/strings.h"
#include "../lib/obj/console.h"
IO io1, io2;
#define MAX_PATH 260
@@ -92,11 +91,8 @@ console() {
char s1;
int s2;
srcfile = io1.read(srcfilename);
dstfile = io2.read(dstfilename);
srcfilesize = io1.FILES_SIZE;
dstfilesize = io2.FILES_SIZE;
read_file(srcfilename, #srcfile, #srcfilesize);
read_file(dstfilename, #dstfile, #dstfilesize);
if (!srcfile) die("'First file not found' -E");
if (!dstfile) die("'Second file not found' -E");