]> granicus.if.org Git - postgresql/commitdiff
Oops, sorry...meant to commit the patch from Thomas for tzn->CTZName
authorMarc G. Fournier <scrappy@hub.org>
Tue, 15 Dec 1998 15:28:57 +0000 (15:28 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Tue, 15 Dec 1998 15:28:57 +0000 (15:28 +0000)
src/backend/utils/adt/nabstime.c

index 1028191dad06ec8cd8aaedaa67dfa1a681ac0250..95c1442ac31925dbba981bd69df9cf18e6baaf51 100644 (file)
@@ -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);