Fix zic for Windows.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6d257e732b358ee601a114fe3d1640a46317e554
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-03-29T14:40:08Z
Releases: 9.6.0
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.

Files

PathChange+/−
src/timezone/zic.c modified +3 −0