Clean up code in libpq that obtains user's home directory: make a single
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| 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 |