1
0

patch-src_umount_davfs_c 552 B

123456789101112
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- davfs2-1.3.3.orig/src/umount_davfs.c 2008-01-11 22:40:18.000000000 +0100
  3. +++ davfs2-1.3.3/src/umount_davfs.c 2008-12-08 00:38:43.000000000 +0100
  4. @@ -114,7 +114,7 @@ int main(int argc, char *argv[]) {
  5. if (optind < (argc - 1))
  6. error(EXIT_FAILURE, 0, _("too many arguments"));
  7. - char *mpoint = canonicalize_file_name(argv[optind]);
  8. + char *mpoint = realpath(argv[optind], NULL);
  9. if (mpoint == NULL)
  10. mpoint = argv[optind];
  11. if (mpoint == NULL || *mpoint != '/')