mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +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:
		@@ -50,7 +50,7 @@ match properly on the old version.
 | 
				
			|||||||
Time Zone code
 | 
					Time Zone code
 | 
				
			||||||
==============
 | 
					==============
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The code in this directory is currently synced with tzcode release 2016c.
 | 
					The code in this directory is currently synced with tzcode release 2016j.
 | 
				
			||||||
There are many cosmetic (and not so cosmetic) differences from the
 | 
					There are many cosmetic (and not so cosmetic) differences from the
 | 
				
			||||||
original tzcode library, but diffs in the upstream version should usually
 | 
					original tzcode library, but diffs in the upstream version should usually
 | 
				
			||||||
be propagated to our version.  Here are some notes about that.
 | 
					be propagated to our version.  Here are some notes about that.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3646,6 +3646,11 @@ mkdirs(char const * argname, bool ancestors)
 | 
				
			|||||||
		 */
 | 
							 */
 | 
				
			||||||
		if (mkdir(name, MKDIR_UMASK) != 0)
 | 
							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;
 | 
								int			err = errno;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			if (err != EEXIST && !itsdir(name))
 | 
								if (err != EEXIST && !itsdir(name))
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user