We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9b12b commit 2e763e3Copy full SHA for 2e763e3
src/backend/utils/adt/nabstime.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $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 $
11
12
*-------------------------------------------------------------------------
13
*/
@@ -75,8 +75,7 @@ GetCurrentAbsoluteTime(void)
75
strftime(CTZName, MAXTZLEN, "%Z", tm);
76
#endif
77
/* XXX FreeBSD man pages indicate that this should work - thomas 1998-12-12 */
78
- if (tzn != NULL)
79
- strcpy(tzn, tm->tm_zone);
+ strcpy(CTZName, tm->tm_zone);
80
81
#elif defined(HAVE_INT_TIMEZONE)
82
tm = localtime(&now);
0 commit comments