X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=exec.c;h=c90df6e90516caceb50fee544b27dda49a18eb2a;hp=8eb0599fba5e3089057f83dcb717345c6e0194d5;hb=92f150d622efe2423c610676f9e7b196391df436;hpb=9de1287d67c9562e9140c6dc7deb0c01c4e10cc0 diff --git a/exec.c b/exec.c index 8eb0599f..c90df6e9 100644 --- a/exec.c +++ b/exec.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2012 Andre Noll + * Copyright (C) 2003-2014 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -9,7 +9,6 @@ #include #include "para.h" -#include "close_on_fork.h" #include "error.h" #include "fd.h" #include "string.h" @@ -118,7 +117,7 @@ err_out: * Exec the given command. * * \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. * \param fds A pointer to a value-result array. * * This function uses fork/exec to create a new process. \a fds must be a @@ -131,7 +130,7 @@ err_out: * - fd[i] > 0: create a pipe and dup i to one end of that pipe. * Upon return, fd[i] contains the file descriptor of the pipe. * - * In any case, all unneeded filedescriptors are closed. + * In any case, all unneeded file descriptors are closed. * * \return Standard. */