GNOME Bugzilla – Bug 604448
gtk-vnc FTBFS on some platforms because of PATH_MAX usage
Last modified: 2010-03-20 18:45:26 UTC
Hi, gtk-vnc unconditionally uses PATH_MAX, but it may not be defined on some systems, like in GNU/Hurd. I'm attaching a patch that changes it to use dynamic allocation instead of a fixed buffer size.
Created attachment 149637 [details] [review] Use dynamic allocation rather than fixed PATH_MAX size buffers
Can this be applied? We're shipping this in Debian as a sperate patch.
Thanks I have applied your patch in this commit commit 0a6bae9c19e9f86dda5433d8260d5f29e7ef4ed1 Author: Emilio Pozuelo Monfort <pochu27@gmail.com> Date: Sat Mar 20 18:44:26 2010 +0000 Remove use of PATH_MAX in favour of dynamic buffers GNU/Hurd does not define the PATH_MAX constant. Replace use of PATH_MAX with dynamic buffers instead. * src/vncdisplay.c: Remove use of PATH_MAX