patch-src_umount_davfs_c 482 B

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