|
|
@ -101,7 +101,7 @@ ncfdplane_create_internal(ncplane* n, const ncfdplane_options* opts, int fd,
|
|
|
|
ncfdplane_callback cbfxn, ncfdplane_done_cb donecbfxn,
|
|
|
|
ncfdplane_callback cbfxn, ncfdplane_done_cb donecbfxn,
|
|
|
|
bool thread){
|
|
|
|
bool thread){
|
|
|
|
if(opts->flags > 0){
|
|
|
|
if(opts->flags > 0){
|
|
|
|
logwarn(ncplane_notcurses(n), "Provided unsupported flags %016lx\n", opts->flags);
|
|
|
|
logwarn(ncplane_notcurses(n), "Provided unsupported flags %016jx\n", (uintmax_t)opts->flags);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ncfdplane* ret = malloc(sizeof(*ret));
|
|
|
|
ncfdplane* ret = malloc(sizeof(*ret));
|
|
|
|
if(ret == NULL){
|
|
|
|
if(ret == NULL){
|
|
|
@ -302,7 +302,7 @@ ncsubproc* ncsubproc_createv(ncplane* n, const ncsubproc_options* opts,
|
|
|
|
return NULL;
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(opts->flags > 0){
|
|
|
|
if(opts->flags > 0){
|
|
|
|
logwarn(ncplane_notcurses(n), "Provided unsupported flags %016lx\n", opts->flags);
|
|
|
|
logwarn(ncplane_notcurses(n), "Provided unsupported flags %016jx\n", (uintmax_t)opts->flags);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
int fd = -1;
|
|
|
|
int fd = -1;
|
|
|
|
ncsubproc* ret = malloc(sizeof(*ret));
|
|
|
|
ncsubproc* ret = malloc(sizeof(*ret));
|
|
|
@ -337,7 +337,7 @@ ncsubproc* ncsubproc_createvp(ncplane* n, const ncsubproc_options* opts,
|
|
|
|
return NULL;
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(opts->flags > 0){
|
|
|
|
if(opts->flags > 0){
|
|
|
|
logwarn(ncplane_notcurses(n), "Provided unsupported flags %016lx\n", opts->flags);
|
|
|
|
logwarn(ncplane_notcurses(n), "Provided unsupported flags %016jx\n", (uintmax_t)opts->flags);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
int fd = -1;
|
|
|
|
int fd = -1;
|
|
|
|
ncsubproc* ret = malloc(sizeof(*ret));
|
|
|
|
ncsubproc* ret = malloc(sizeof(*ret));
|
|
|
@ -372,7 +372,7 @@ ncsubproc* ncsubproc_createvpe(ncplane* n, const ncsubproc_options* opts,
|
|
|
|
return NULL;
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(opts->flags > 0){
|
|
|
|
if(opts->flags > 0){
|
|
|
|
logwarn(ncplane_notcurses(n), "Provided unsupported flags %016lx\n", opts->flags);
|
|
|
|
logwarn(ncplane_notcurses(n), "Provided unsupported flags %016jx\n", (uintmax_t)opts->flags);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
int fd = -1;
|
|
|
|
int fd = -1;
|
|
|
|
ncsubproc* ret = malloc(sizeof(*ret));
|
|
|
|
ncsubproc* ret = malloc(sizeof(*ret));
|
|
|
|