pgsql: Preserve errno across free(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Preserve errno across free().
Date
Msg-id E1WWDD7-00015n-5i@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Make sure -D is an absolute path when starting server on Windows
Next
From: Tom Lane
Date:
Subject: pgsql: Allow "-C variable" and "--describe-config" even to root users.