Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2e763e3

Browse files
author
Thomas G. Lockhart
committed
Fix problem with bad reference to tzn in GetCurrentAbsoluteTime().
Already was done in the main tree.
1 parentdb9b12b commit2e763e3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎src/backend/utils/adt/nabstime.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.46.2.1 1998/12/14 00:11:46 thomas Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.46.2.2 1998/12/19 03:23:18 thomas Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -75,8 +75,7 @@ GetCurrentAbsoluteTime(void)
7575
strftime(CTZName,MAXTZLEN,"%Z",tm);
7676
#endif
7777
/* XXX FreeBSD man pages indicate that this should work - thomas 1998-12-12 */
78-
if (tzn!=NULL)
79-
strcpy(tzn,tm->tm_zone);
78+
strcpy(CTZName,tm->tm_zone);
8079

8180
#elif defined(HAVE_INT_TIMEZONE)
8281
tm=localtime(&now);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp