git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: db9b12b)
Fix problem with bad reference to tzn in GetCurrentAbsoluteTime().
1998年12月19日 03:23:18 +0000 (03:23 +0000)
1998年12月19日 03:23:18 +0000 (03:23 +0000)
Already was done in the main tree.


diff --git a/src/backend/utils/adt/nabstime.c b/src/backend/utils/adt/nabstime.c
index fb1f6adf0389f70d0779cd4f5be733cfdb23f557..024d6ea1906a02cd64e8fdda1490be77d4aa6bbf 100644 (file)
--- a/src/backend/utils/adt/nabstime.c
+++ b/src/backend/utils/adt/nabstime.c
@@ -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);
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /