[Freedos-kernel] sys.c issues

2004-02-22 Thread Arkady V.Belousov
Hi! AIU=As I understand. >int main(int argc, char **argv) > if (argc > 1 && memicmp(argv[1], "CONFIG", 6) == 0) >else if (memicmp(argp, "BOOTONLY", 8) == 0 && !bootonly) >else if (memicmp(argp, "BOTH", 4) == 0 && !both) - AIU, there should be stricmp() (or third parameter of memicmp() s

[Freedos-kernel] sys.c issues

2004-02-22 Thread Arkady V.Belousov
Hi! >BOOL copy(COUNT drive, BYTE * srcPath, BYTE * rootPath, BYTE * file) [...] > if (!check_space(drive, filelength(fdin))) > { >printf("%s: Not enough space to transfer %s\n", pgm, file); >close(fdin); >exit(1); > } [...] >if (write(fdout, copybuffer, ret) != ret) >{ >