X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=exec.c;h=c90df6e90516caceb50fee544b27dda49a18eb2a;hp=e765dc4d8f0473290b309efd45e04318b21b6792;hb=8b7f38b319ffcf0bec4709f2f1537be6aacb9901;hpb=a24d175e6d093d6d9f6e583c3026e45924bad621 diff --git a/exec.c b/exec.c index e765dc4d..c90df6e9 100644 --- a/exec.c +++ b/exec.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 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. */