- MAXPATHLEN -> PATH_MAX (pass correct buffer size to readlink as well)
- MAXPATHLEN -> PATH_MAX (pass correct buffer size to readlink as well)

Requested by:		bde

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase