@kugel- commented on this pull request.
In src/utils.c:
> @@ -2414,17 +2419,39 @@ void utils_start_new_geany_instance(const gchar *doc_path) } +#if defined(G_OS_WIN32) && !defined(HAVE_REALPATH) +/* realpath implementation for Windows found at http://bugzilla.gnome.org/show_bug.cgi?id=342926 + * this one is better than e.g. liberty's lrealpath because this one uses Win32 API and works + * with special chars within the filename */ +static char *realpath(const char *pathname, char *resolved_path) +{ + int size; + + if (resolved_path != NULL) + { + size = GetFullPathName(pathname, PATH_MAX, resolved_path, NULL);
Previously the ANSI version was called explicitly. What was your reason to change that?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.