X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=exec.c;h=9e0565dc5e08cd0905fd70de01ca0c9b8a100a0e;hp=56d37ea3629e6d21c2a439e7a9049d9129a51866;hb=1f5ecfacc341f893d73caa0a613d553af33a6cc9;hpb=66cdd5bc99a53d2b408a6cdc2d501fe27f9db13b diff --git a/exec.c b/exec.c index 56d37ea..9e0565d 100644 --- a/exec.c +++ b/exec.c @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2003-2011 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* SPDX-License-Identifier: GPL-2.0 */ /** \file exec.c Helper functions for spawning new processes. */ @@ -15,8 +11,8 @@ #include "gcc-compat.h" #include "log.h" -#include "error.h" -#include "string.h" +#include "err.h" +#include "str.h" #include "exec.h" /** @@ -50,7 +46,7 @@ void dss_exec(pid_t *pid, const char *file, char *const *const args) * Exec the command given as a command line. * * \param pid Will hold the pid of the created process upon return. - * \param cmdline Holds the command and its arguments, seperated by spaces. + * \param cmdline Holds the command and its arguments, separated by spaces. * * This function uses fork/exec to create a new process. *