Fix BSD-only coding in port.c (passing a local variable to putenv).
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/port/path.c | modified | +12 −12 |