Package: davfs2 Version: 1.2.1-3 Severity: minor Tags: patch User: [EMAIL PROTECTED] Usertags: origin-ubuntu hardy ubuntu-patch
Please see https://bugs.launchpad.net/ubuntu/+source/davfs2/+bug/178650 for more information. *** /tmp/tmpb4Z6aa In Ubuntu, we've applied the attached patch to achieve the following: - patch to fix umount errors (LP: #178650) (patch from Adrian Bridgett) We thought you might be interested in doing the same. -- System Information: Debian Release: lenny/sid APT prefers hardy-updates APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy') Architecture: i386 (i686) Kernel: Linux 2.6.24-3-generic (SMP w/2 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- davfs2-1.2.1/src/umount_davfs.c 2007-02-18 10:03:08.000000000 +0000 +++ davfs2-1.2.1.patched/src/umount_davfs.c 2007-12-25 22:54:55.000000000 +0000 @@ -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, @@ -163,7 +163,8 @@ char *ps_line = NULL; while (!found && getline(&ps_line, &n, ps_in) > 0) found = (strstr(ps_line, pid) != NULL - && strstr(ps_line, PROGRAM_NAME) != NULL); + && strstr(ps_line, PROGRAM_NAME) != NULL + && strstr(ps_line, mpoint)); pclose(ps_in);