aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/nabstime.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-12-15 15:28:57 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-12-15 15:28:57 +0000
commit54c3e6524217e8fbd5680e212407b98117829c53 (patch)
treea0309a375b8fd245f13bbb7fcc094564794b71ac /src/backend/utils/adt/nabstime.c
parent83f558afddb7f9331c57becd6ec9bc441f67753d (diff)
downloadpostgresql-54c3e6524217e8fbd5680e212407b98117829c53.tar.gz
postgresql-54c3e6524217e8fbd5680e212407b98117829c53.zip
Oops, sorry...meant to commit the patch from Thomas for tzn->CTZName
Diffstat (limited to 'src/backend/utils/adt/nabstime.c')
-rw-r--r--src/backend/utils/adt/nabstime.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/backend/utils/adt/nabstime.c b/src/backend/utils/adt/nabstime.c
index 1028191dad0..95c1442ac31 100644
--- a/src/backend/utils/adt/nabstime.c
+++ b/src/backend/utils/adt/nabstime.c
@@ -4,7 +4,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: nabstime.c,v 1.49 1998/12/15 15:10:03 vadim Exp $
+ * $Id: nabstime.c,v 1.50 1998/12/15 15:28:57 scrappy Exp $
*
*/
#include <stdio.h>
@@ -71,11 +71,7 @@ GetCurrentAbsoluteTime(void)
strftime(CTZName, MAXTZLEN, "%Z", tm);
#endif
/* XXX FreeBSD man pages indicate that this should work - thomas 1998-12-12 */
- /* tzn isn't defined !!! - vadim 15-12-1998 */
-#if 0
- if (tzn != NULL)
- strcpy(tzn, tm->tm_zone);
-#endif
+ strcpy(CTZName, tm->tm_zone);
#elif defined(HAVE_INT_TIMEZONE)
tm = localtime(&now);