Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6409 → Rev 6410

/programs/develop/ktcc/trunk/libc/build.bat
6,10 → 6,10
rem #### CONFIG SECTION ####
set LIBNAME=libck.a
set INCLUDE=include
set CC=
set CC=kos32-tcc
set CFLAGS=-c -nostdinc -DGNUC -I"%cd%\%INCLUDE%"
set AR=
set ASM=
set AR=kos32-ar
set ASM=fasm
set dirs=stdio memory kolibrisys string stdlib
rem #### END OF CONFIG SECTION ####
 
/programs/develop/ktcc/trunk/libc/string/memmove.asm
6,7 → 6,7
public memcpy
public memmove
 
proc memcpy stdcall, to:dword,from:dword,count:dword
proc memcpy c, to:dword,from:dword,count:dword
 
mov ecx,[count]
test ecx,ecx
20,7 → 20,7
ret
endp
 
proc memmove stdcall, to:dword,from:dword,count:dword
proc memmove c, to:dword,from:dword,count:dword
 
mov ecx,[count]
test ecx,ecx
/programs/develop/ktcc/trunk/libc/string/strcat.c
2,7 → 2,7
{
char* res;
res=strDest;
while (*strDest++) ;
while (*strDest) strDest++;
while (*strDest++ = *strSource++) ;
return res;
}
/programs/develop/ktcc/trunk/libc/string/strcpy.c
2,6 → 2,6
{
char* res;
res=strDest;
while(*strDest++ == strSource++) ;
while(*strDest++ = *strSource++) ;
return res;
}