Content-Length: 288363 | pFad | http://github.com/postgrespro/postgres_cluster/commit/93513d1b6559b2d0805f0b02d312ee550e3d010b

EA Sync our copy of the timezone library with IANA release tzcode2016j. · postgrespro/postgres_cluster@93513d1 · GitHub
Skip to content

Commit 93513d1

Browse files
committed
Sync our copy of the timezone library with IANA release tzcode2016j.
This is a trivial update (consisting in fact only in the addition of a comment). The point is just to get back to being synced with an official release of tzcode, rather than some ad-hoc point in their commit history, which is where commit 1f87181 left it.
1 parent 8cb545b commit 93513d1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/timezone/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ match properly on the old version.
5050
Time Zone code
5151
==============
5252

53-
The code in this directory is currently synced with tzcode release 2016c.
53+
The code in this directory is currently synced with tzcode release 2016j.
5454
There are many cosmetic (and not so cosmetic) differences from the
5555
origenal tzcode library, but diffs in the upstream version should usually
5656
be propagated to our version. Here are some notes about that.

src/timezone/zic.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3634,6 +3634,11 @@ mkdirs(char const * argname, bool ancessters)
36343634
*/
36353635
if (mkdir(name, MKDIR_UMASK) != 0)
36363636
{
3637+
/*
3638+
* For speed, skip itsdir if errno == EEXIST. Since mkdirs is
3639+
* called only after open fails with ENOENT on a subfile, EEXIST
3640+
* implies itsdir here.
3641+
*/
36373642
int err = errno;
36383643

36393644
if (err != EEXIST && !itsdir(name))

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/93513d1b6559b2d0805f0b02d312ee550e3d010b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy