Code cleanup in path.c and exec.c. Handle Windows drive and network specs

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

Commit: 4867afef7a6493161e666df55d6b53f102ea5780
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-11-06T01:16:22Z
Releases: 8.0.0
Code cleanup in path.c and exec.c.  Handle Windows drive and network specs
everywhere not just some places, get rid of . and .. when joining path
sections together.  This should eliminate most of the ugly paths like
/foo/bar/./baz that we've been generating.

Files

PathChange+/−
src/include/port.h modified +14 −24
src/port/exec.c modified +32 −86
src/port/path.c modified +130 −56