bugfix: exec执行的文件不存在时,自动退出进程。

This commit is contained in:
fslongjin
2022-06-09 21:56:32 +08:00
parent f37a090989
commit 2a47569473
16 changed files with 100 additions and 103 deletions

View File

@ -224,7 +224,7 @@ void *memset_c(void* dst, uint8_t c, size_t count)
*/
static void *memcpy(void *dst, void *src, long Num)
{
int d0, d1, d2;
int d0=0, d1=0, d2=0;
__asm__ __volatile__("cld \n\t"
"rep \n\t"
"movsq \n\t"