Good catch. Yes, realpath() returns paths with backslashes and so shortening the name doesn't work. Using G_DIR_SEPARATOR
does fix it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.