Clean up code in libpq that obtains user's home directory: make a single

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

Commit: edf3832b5c5b3b12528a2208d4e077e2f0d48903
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-01-04T23:18:25Z
Releases: 8.0.0
Clean up code in libpq that obtains user's home directory: make a single
subroutine that can hide platform dependencies.  The WIN32 path is still
a stub, but I await a fix from one of the win32 hackers.
Also clean up unnecessary #ifdef WIN32 ugliness in a couple of places.

Files

PathChange+/−
src/interfaces/libpq/fe-auth.c modified +15 −13
src/interfaces/libpq/fe-connect.c modified +4 −14
src/interfaces/libpq/fe-secure.c modified +49 −35