Remove 'optimization' to skip resolve_symlinks() when the found

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f0c08ae7c95bf71cabcae351825b58e528a68b77
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-12-24T16:55:43Z
Releases: 8.0.0
Remove 'optimization' to skip resolve_symlinks() when the found
executable file isn't itself a symlink.  We still need to run the
algorithm so that any directory symlinks in the path to the
executable are replaced by a true path.  Noticed this on seeing
pg_config give me a completely wrong answer for --pkglibdir when
I called it through a symlink to the installation bindir.

Files

PathChange+/−
src/port/exec.c modified +7 −8