summaryrefslogtreecommitdiff
path: root/package/davfs2/patches/patch-src_umount_davfs_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-13 18:06:45 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-13 18:06:45 +0200
commit8edb1cd5a6a03b391003a1047e0b3ca6d22acd45 (patch)
tree751b35f97d8dcc1c9da4f0c81d9707701e8d6710 /package/davfs2/patches/patch-src_umount_davfs_c
parent92dd4fee15cb7c33868c7d7213f82136955397b1 (diff)
bulk package update
Diffstat (limited to 'package/davfs2/patches/patch-src_umount_davfs_c')
-rw-r--r--package/davfs2/patches/patch-src_umount_davfs_c11
1 files changed, 5 insertions, 6 deletions
diff --git a/package/davfs2/patches/patch-src_umount_davfs_c b/package/davfs2/patches/patch-src_umount_davfs_c
index 387476f39..9dd1978d4 100644
--- a/package/davfs2/patches/patch-src_umount_davfs_c
+++ b/package/davfs2/patches/patch-src_umount_davfs_c
@@ -1,12 +1,11 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- davfs2-1.3.3.orig/src/umount_davfs.c 2008-01-11 22:40:18.000000000 +0100
-+++ davfs2-1.3.3/src/umount_davfs.c 2008-12-08 00:38:43.000000000 +0100
-@@ -114,7 +114,7 @@ int main(int argc, char *argv[]) {
+--- 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 == NULL)
+ if (!mpoint)
mpoint = argv[optind];
- if (mpoint == NULL || *mpoint != '/')
+ if (!mpoint || *mpoint != '/')