Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 996 → Rev 995

/kernel/branches/kolibri_pe/core/dll.c
454,10 → 454,10
thr_stack->ecx = 0;
thr_stack->eax = 0;
thr_stack->eip = entry;
thr_stack->cs = sel_app_code;
thr_stack->cs = 0x1b;
thr_stack->eflags = EFL_IOPL3 | EFL_IF;
thr_stack->pe_sp = 0x7FFFF000 + ((u32_t)ex_stack & 0xFFF);
thr_stack->pe_ss = sel_app_data;
thr_stack->pe_ss = 0x23;
 
};
 
585,12 → 585,13
 
DBG("import from %s\n",libname);
 
exp_dll = find_dll(&core_dll.link, libname);
if(exp_dll == NULL)
{
exp_dll = find_dll(&current_slot->dll_list, libname);
if(exp_dll == NULL)
if(exp_dll != NULL)
{
DBG("find %s\n", exp_dll->img_name);
}
else
{
int len = strlen(libname)+1;
 
memcpy(path, "/sys/lib/",9);
603,8 → 604,6
return false;
};
}
};
DBG("find %s\n", exp_dll->img_name);
 
exp = exp_dll->img_exp;