pgsql: Fix zic for Windows.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix zic for Windows.
Date: 2016-03-29 14:40:13
Message-ID: E1akuoX-0002kD-Qi@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-03-29 15:06:52 pgsql: Protect zic's symlink() call with #ifdef HAVE_SYMLINK.
Previous Message Tom Lane 2016-03-29 14:20:21 Re: Re: [COMMITTERS] pgsql: Sync tzload() and tzparse() APIs with IANA release tzcode2016c.