Remove PM_LOG_PORT_DIR and PM_LOG_PRIMARY_LINK macros. These
hard-coded POSIX paths to /var/tmp, now we use PCP_TMP_DIR and
Win32 gets a fighting chance. Some of the earlier Windows code
is then able to be removed and/or simplified.
Win32 scandir returns an error on ENOENT too, so handle that.
Rework the pmlogger control file path handling.
Remove PM_LOG_PORT_DIR and PM_LOG_PRIMARY_LINK macros. These
hard-coded POSIX paths to /var/tmp, now we use PCP_TMP_DIR and
Win32 gets a fighting chance. Some of the earlier Windows code
is then able to be removed and/or simplified.
Win32 scandir returns an error on ENOENT too, so handle that.