mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
Merge branch 'master' of https://github.com/dankamongmen/notcurses
This commit is contained in:
commit
aece3a8d93
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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__
|
||||||
|
Loading…
Reference in New Issue
Block a user