From aac163336f616bd2ddcba3e1af60c4a090ca7a50 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 19 Jul 1998 10:08:15 +0000 Subject: [PATCH] Remove unneeded strcpy() of timezone. --- src/backend/utils/adt/nabstime.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/backend/utils/adt/nabstime.c b/src/backend/utils/adt/nabstime.c index daf0f6105b..56cd519f55 100644 --- 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.43 1998/06/15 19:29:35 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.44 1998/07/19 10:08:15 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -78,12 +78,6 @@ GetCurrentAbsoluteTime(void) * tzname? - tgl 97/03/18 */ strftime(CTZName, MAXTZLEN, "%Z", tm); - - /* - * XXX FreeBSD man pages indicate that this should work - tgl - * 97/04/23 - */ - strcpy(CTZName, tm->tm_zone); #endif #else /* ! USE_POSIX_TIME */ CTimeZone = tb.timezone * 60; -- 2.40.0