Hi, PATH_MAX is undefined on GNU Hurd (as there's no limit). This patch fixes the build there by using dynamic allocation in the same way that src/examples/frobnicate.c does it. Note that POSIX says PATH_MAX may not be defined, so this is right.
Created attachment 44878 [details] [review] Fix build on GNU Hurd
Created attachment 46186 [details] [review] Fix build on GNU Hurd This patch is even more portable and cleaner. It uses g_get_current_dir().
Hi David, any news on this bug report?
Committed thanks. Sorry for the lag.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.