Preserve errno across free().

Dept. of second thoughts: free() isn't guaranteed not to change errno.
Make sure we report the right error if getcwd() fails.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2209c0f8618bbed257975055e017efab139e3fa3

Modified Files
--------------
src/port/path.c |    3 +++
1 file changed, 3 insertions(+)


-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to