libc.obj: fix strtok && update change path to exit code
This commit is contained in:
@@ -36,7 +36,6 @@ int system(const char* command)
|
||||
// wait of end of shell
|
||||
|
||||
ksys_thread_t t;
|
||||
int slot = _ksys_get_thread_slot(pid);
|
||||
while (_ksys_thread_info(&t, pid) != -1 && t.slot_state != 3 && t.slot_state != 4 && t.slot_state != 9) {
|
||||
_ksys_thread_yield();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user