@kugel- commented on this pull request.


In src/utils.c:

> @@ -2414,6 +2419,48 @@ void utils_start_new_geany_instance(const gchar *doc_path)
 }
 
 
+
+static int get_path_max(const char *path)
+{
+#ifdef PATH_MAX
+	return PATH_MAX;
+#else
+	int path_max = pathconf(path, _PC_PATH_MAX);
+	if (path_max <= 0)
+		path_max = 4096;
+	return path_max;
+#endif

Adding the prefix seems like the easiest way to use longer paths on Windows, but changing Windows behavior would be difficult for me to test.

That is probably best left to the future guy that requires longer paths on Windows. Devs tend to checkout code directly to C:\src or similar (possibly because of the limitations?) so nobody came up with that requirement so far, to my knowledge.


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.