Code cleanup in path.c and exec.c. Handle Windows drive and network specs
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/include/port.h | modified | +14 −24 |
| src/port/exec.c | modified | +32 −86 |
| src/port/path.c | modified | +130 −56 |