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

Commit c422e1a

Browse files
committed
Fix compile failures in dt.c --- line broken in middle of
an identifier :-(. Sloppy transmission of a patch, likely.
1 parent b4c7a56 commit c422e1a

File tree

1 file changed

+7
-9
lines changed
  • src/backend/utils/adt

1 file changed

+7
-9
lines changed

src/backend/utils/adt/dt.c

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.69 1999/04/26 04:42:48 ishii Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.70 1999/05/01 17:14:56 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -3068,18 +3068,16 @@ DecodeDateTime(char **field, int *ftype, int nf,
30683068
#if defined(HAVE_TM_ZONE)
30693069
*tzp = -(tm->tm_gmtoff); /* tm_gmtoff is Sun/DEC-ism */
30703070
#elif defined(HAVE_INT_TIMEZONE)
3071-
#ifdef __CYGWIN__
3072-
*tzp = ((tm->tm_isdst > 0) ? (_timezone - 3600) : _timez
3073-
one);
3074-
#else
3075-
*tzp = ((tm->tm_isdst > 0) ? (timezone - 3600) : timezon
3076-
e);
3077-
#endif
3071+
#ifdef __CYGWIN__
3072+
*tzp = ((tm->tm_isdst > 0) ? (_timezone - 3600) : _timezone);
3073+
#else
3074+
*tzp = ((tm->tm_isdst > 0) ? (timezone - 3600) : timezone);
3075+
#endif
30783076
#else
30793077
#error USE_POSIX_TIME is defined but neither HAVE_TM_ZONE or HAVE_INT_TIMEZONE are defined
30803078
#endif
30813079

3082-
#else /* !USE_POSIX_TIME */
3080+
#else /* !USE_POSIX_TIME */
30833081
*tzp = CTimeZone;
30843082
#endif
30853083
}

0 commit comments

Comments
 (0)