X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=exec.c;h=a2348ba392ea684ec02e9add6266f6189fa09267;hp=b603809d062ee07724f7a4f25b9629ff227f047d;hb=53d5ac455d0616a5ee8867c986631ed34c177a42;hpb=43e0a7f669d782e73513119b7140dc4e56bcc3d7 diff --git a/exec.c b/exec.c index b603809d..a2348ba3 100644 --- a/exec.c +++ b/exec.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2009 Andre Noll + * Copyright (C) 2003 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -7,10 +7,8 @@ /** \file exec.c Helper functions for spawning new processes. */ #include -#include #include "para.h" -#include "close_on_fork.h" #include "error.h" #include "fd.h" #include "string.h" @@ -119,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 @@ -132,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. */