… lib: slurpfile()
…ady a skip_whitespace function in lib/file.c
Often the pid file will be in /var/run which is only writeable by root.
…ion would unconditionally add "expat-devel, apr-devel > 1", which do not exist for SLES. The new requirements match the BuildRequirements for SLES.
Between 3.1.1 and 3.3.1 the variable "udp_last_heard" was introduced. The function setup_listen_channels_pollset(0) sets up the listening tcp socket. Since you have no udp_receive_channels, udp_last_heard will never be normally updated. When (now - udp_last_heard) > 60 * APR_USEC_PER_SEC then setup_listen_channels_pollset(1) is called (1 == reset). However, there is no reset check before setting up the tcp sockets so gmond tries to set them up again and fails.