summaryrefslogtreecommitdiff
path: root/package/davfs2/patches/patch-src_umount_davfs_c
blob: 9dd1978d42aada16047e01468bdbdf8118012c14 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- davfs2-1.4.6.orig/src/umount_davfs.c	2009-06-04 20:30:32.000000000 +0200
+++ davfs2-1.4.6/src/umount_davfs.c	2010-05-30 09:53:14.681613660 +0200
@@ -120,7 +120,7 @@ main(int argc, char *argv[])
     if (optind < (argc - 1))
         error(EXIT_FAILURE, 0, _("too many arguments"));
 
-    char *mpoint = canonicalize_file_name(argv[optind]);
+    char *mpoint = realpath(argv[optind], NULL);
     if (!mpoint)
         mpoint = argv[optind];
     if (!mpoint || *mpoint != '/')