Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 54c3e65

Browse files
committed
Oops, sorry...meant to commit the patch from Thomas for tzn->CTZName
1 parent 83f558a commit 54c3e65

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/backend/utils/adt/nabstime.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Copyright (c) 1994, Regents of the University of California
66
*
7-
* $Id: nabstime.c,v 1.49 1998/12/15 15:10:03 vadim Exp $
7+
* $Id: nabstime.c,v 1.50 1998/12/15 15:28:57 scrappy Exp $
88
*
99
*/
1010
#include <stdio.h>
@@ -71,11 +71,7 @@ GetCurrentAbsoluteTime(void)
7171
strftime(CTZName, MAXTZLEN, "%Z", tm);
7272
#endif
7373
/* XXX FreeBSD man pages indicate that this should work - thomas 1998-12-12 */
74-
/* tzn isn't defined !!! - vadim 15-12-1998 */
75-
#if 0
76-
if (tzn != NULL)
77-
strcpy(tzn, tm->tm_zone);
78-
#endif
74+
strcpy(CTZName, tm->tm_zone);
7975

8076
#elif defined(HAVE_INT_TIMEZONE)
8177
tm = localtime(&now);

0 commit comments

Comments
 (0)