--- librsvg-2.39.0.orig/rsvg-base.c +++ librsvg-2.39.0/rsvg-base.c @@ -2190,8 +2190,7 @@ dir = g_file_get_path (base); g_object_unref (base); - /* FIXME portability */ - cdir = canonicalize_file_name (dir); + cdir = realpath (dir, NULL); g_free (dir); if (cdir == NULL) goto deny; @@ -2200,8 +2199,7 @@ if (path == NULL) goto deny; - /* FIXME portability */ - cpath = canonicalize_file_name (path); + cpath = realpath (path, NULL); g_free (path); if (cpath == NULL)