This commit is contained in:
nick black 2021-08-13 19:12:11 -04:00
commit aece3a8d93
2 changed files with 7 additions and 2 deletions

View File

@ -28,7 +28,9 @@ int set_fd_nonblocking(int fd, unsigned state, unsigned* oldstate){ // FIXME
pid_t waitpid(pid_t pid, int* state, int options){ pid_t waitpid(pid_t pid, int* state, int options){
(void)options; // FIXME honor WNOHANG (void)options; // FIXME honor WNOHANG
WaitForSingleObject(pid, INFINITE); WaitForSingleObject(pid, INFINITE);
GetExitCodeProcess(pid, state); long unsigned pstate;
GetExitCodeProcess(pid, &pstate);
*state = pstate;
CloseHandle(pid); CloseHandle(pid);
return pid; return pid;
} }

View File

@ -120,7 +120,10 @@ error:
} }
int fbcon_scrub(const struct ncpile* p, sprixel* s){ int fbcon_scrub(const struct ncpile* p, sprixel* s){
return sixel_scrub(p, s); (void)p;
(void)s;
return 0;
//return sixel_scrub(p, s);
} }
#ifdef __linux__ #ifdef __linux__