aac audio format handler: fix end of file timeout
[paraslash.git] / exec.c
diff --git a/exec.c b/exec.c
index 1a302c16bf07dba2e8ae51cc706980487950bf88..95bc43e4fae19d9791b36e5e7be2b06b1dc2ebb8 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -147,23 +147,10 @@ int para_exec_cmdline_pid(pid_t *pid, const char *cmdline, int *fds)
 
        if (!tmp)
                exit(EXIT_FAILURE);
 
        if (!tmp)
                exit(EXIT_FAILURE);
-       argc = split_args(tmp, &argv, ' ');
+       argc = split_args(tmp, &argv, " \t");
        ret = para_exec(pid, argv[0], argv, fds);
        free(argv);
        free(tmp);
        return ret;
 }
 
        ret = para_exec(pid, argv[0], argv, fds);
        free(argv);
        free(tmp);
        return ret;
 }
 
-/**
- * check whether a file exists
- *
- * \param fn the file name
- *
- * \return Non-zero iff file exists.
- */
-int file_exists(const char *fn)
-{
-       struct stat statbuf;
-
-       return !stat(fn, &statbuf);
-}