Use lstat() instead of access() for checking file existence.  It works for symlinks too, and according to Rod, access() is evil anyway.
Use lstat() instead of access() for checking file existence.  It works
for symlinks too, and according to Rod, access() is evil anyway.

Reviewed by:	jkh

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