Unfortunately I only made the diff, the patch was from another user and I
don't have the possibility to test this. I will try to contact him however.
Thank you.
2008/1/11, Werner Baumann <[EMAIL PROTECTED]>:
>
> Thanks for the report and the patch.
>
> Unfortunately the patch does not work on Debian/Etch, as ps without the
> -C option does not show command line arguments. But the checking I do is
> paranoid anyway, so I removed the check for the mount point (still
> checking PID and program name).
>
> Can you test, whether the simplified patch works with Ubuntu too?
>
> Werner
>
>
> --- davfs2-orig/src/umount_davfs.c 2008-01-11 22:52:45.000000000+0100
> +++ davfs2/src/umount_davfs.c 2008-01-11 22:40:18.000000000 +0100
> @@ -147,7 +147,7 @@
> }
> fclose(file);
>
> - char *ps_command = ne_concat("ps -p ", pid, " -C ", mpoint, NULL);
> + char *ps_command = ne_concat("ps -p ", pid, NULL);
> FILE *ps_in = popen(ps_command, "r");
> if (ps_in == NULL) {
> error(0, 0,
>
>