1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-23 14:01:44 +03:00

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 1f87181e1 left it.
This commit is contained in:
Tom Lane
2016-12-15 14:32:42 -05:00
parent 8cb545bfd4
commit 93513d1b65
2 changed files with 6 additions and 1 deletions

View File

@ -3634,6 +3634,11 @@ mkdirs(char const * argname, bool ancestors)
*/
if (mkdir(name, MKDIR_UMASK) != 0)
{
/*
* For speed, skip itsdir if errno == EEXIST. Since mkdirs is
* called only after open fails with ENOENT on a subfile, EEXIST
* implies itsdir here.
*/
int err = errno;
if (err != EEXIST && !itsdir(name))