mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04:00
Fix problem with bad reference to tzn in GetCurrentAbsoluteTime().
Already was done in the main tree.
This commit is contained in:
parent
db9b12bf1b
commit
2e763e3e5f
1 changed files with 2 additions and 3 deletions
|
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.46.2.1 1998/12/14 00:11:46 thomas Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.46.2.2 1998/12/19 03:23:18 thomas Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -75,8 +75,7 @@ GetCurrentAbsoluteTime(void)
|
|||
strftime(CTZName, MAXTZLEN, "%Z", tm);
|
||||
#endif
|
||||
/* XXX FreeBSD man pages indicate that this should work - thomas 1998-12-12 */
|
||||
if (tzn != NULL)
|
||||
strcpy(tzn, tm->tm_zone);
|
||||
strcpy(CTZName, tm->tm_zone);
|
||||
|
||||
#elif defined(HAVE_INT_TIMEZONE)
|
||||
tm = localtime(&now);
|
||||
|
|
|
|||
Loading…
Reference in a new issue