Hey
I've run into the same issue on Ubuntu Intrepid...
I've fixed it by changing this line: static char pidfile_path[_POSIX_PATH_MAX];
to: static char pidfile_path[PATH_MAX];
because later on you use PATH_MAX to call getcwd(), and that's where the whole thing crashes.
on Intrepid _POSIX_PATH_MAX is 256, and PATH_MAX is 4096
Hope this helps... Mario
Hey
I've run into the same issue on Ubuntu Intrepid...
I've fixed it by changing this line: path[_POSIX_ PATH_MAX] ;
static char pidfile_
to: path[PATH_ MAX];
static char pidfile_
because later on you use PATH_MAX to call getcwd(), and that's where the whole thing crashes.
on Intrepid _POSIX_PATH_MAX is 256, and PATH_MAX is 4096
Hope this helps...
Mario