Fix BSD-only coding in port.c (passing a local variable to putenv).

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

Commit: b9f698eccb0cf75dc949913b2946a81053f27d88
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-07-10T22:58:42Z
Releases: 8.0.0
Fix BSD-only coding in port.c (passing a local variable to putenv).
Also a quick but half-baked attempt to make trim_trailing_separator
do the right thing with path consisting only of '/' --- still needs
work for Windows I think.

Files

PathChange+/−
src/port/path.c modified +12 −12