New upstream version 24.0.1+dfsg1

This commit is contained in:
Sebastian Ramacher 2019-09-22 23:19:10 +02:00
parent b14f9eae6d
commit 5a730d6ec3
842 changed files with 42245 additions and 33385 deletions

View file

@ -26,7 +26,7 @@ struct os_process_pipe {
};
os_process_pipe_t *os_process_pipe_create(const char *cmd_line,
const char *type)
const char *type)
{
struct os_process_pipe pipe = {0};
struct os_process_pipe *out;
@ -38,7 +38,7 @@ os_process_pipe_t *os_process_pipe_create(const char *cmd_line,
pipe.file = popen(cmd_line, type);
pipe.read_pipe = *type == 'r';
if (pipe.file == (FILE*)-1 || pipe.file == NULL) {
if (pipe.file == (FILE *)-1 || pipe.file == NULL) {
return NULL;
}
@ -73,7 +73,8 @@ size_t os_process_pipe_read(os_process_pipe_t *pp, uint8_t *data, size_t len)
return fread(data, 1, len, pp->file);
}
size_t os_process_pipe_read_err(os_process_pipe_t *pp, uint8_t *data, size_t len)
size_t os_process_pipe_read_err(os_process_pipe_t *pp, uint8_t *data,
size_t len)
{
/* XXX: unsupported on posix */
UNUSED_PARAMETER(pp);
@ -83,7 +84,7 @@ size_t os_process_pipe_read_err(os_process_pipe_t *pp, uint8_t *data, size_t len
}
size_t os_process_pipe_write(os_process_pipe_t *pp, const uint8_t *data,
size_t len)
size_t len)
{
if (!pp) {
return 0;