pgsql: Fix zic for Windows. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix zic for Windows.
Date
Msg-id E1akuoX-0002kD-Qi@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix zic for Windows.

The new coding of dolink() is dependent on link() returning an on-point
errno when it fails; but the quick-hack implementation of link() that
we'd put in for Windows didn't bother with setting errno.  Fix that.

Analysis and patch by Christian Ullrich.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6d257e732b358ee601a114fe3d1640a46317e554

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix portability issues in 86c43f4e22c0771fd0cc6bce2799802c894ee2
Next
From: Tom Lane
Date:
Subject: pgsql: Protect zic's symlink() call with #ifdef HAVE_SYMLINK.