Index: src/arm/do_start_process.c =================================================================== --- src/arm/do_start_process.c (revision 30501) +++ src/arm/do_start_process.c (working copy) @@ -23,11 +23,7 @@ /** * Actually start a process. All of the arguments given to this * function are strings that are used for the "argv" array. However, - * if those strings contain spaces, the given argument is split into - * multiple argv entries without spaces. Similarly, if an argument is - * the empty string, it is skipped. This function has the inherent - * limitation that it does NOT allow passing command line arguments - * with spaces to the new process. + * if an argument is the empty string, it is skipped. * * @param pipe_control should a pipe be used to send signals to the child? * @param std_inheritance a set of GNUNET_OS_INHERIT_STD_* flags @@ -62,14 +58,6 @@ rpos = arg; while ('\0' != *rpos) { - if (' ' == *rpos) - { - if (last != NULL) - argv_size++; - last = NULL; - while (' ' == *rpos) - rpos++; - } if ((last == NULL) && (*rpos != '\0')) last = rpos; if (*rpos != '\0') @@ -96,16 +84,6 @@ pos = cp; while ('\0' != *pos) { - if (' ' == *pos) - { - *pos = '\0'; - if (last != NULL) - argv[argv_size++] = GNUNET_strdup (last); - last = NULL; - pos++; - while (' ' == *pos) - pos++; - } if ((last == NULL) && (*pos != '\0')) last = pos; if (*pos != '\0')