Commit Graph

15 Commits

Author SHA1 Message Date
Patrick Georgi
de2c06c54d remove system library prototypes 2025-12-18 22:58:26 +01:00
Jon Trulson
3a0e92adb6 Rename autotools_config.h to cde_config.h to better reflect it's ownership. 2021-12-22 13:21:43 -07:00
Jon Trulson
9369d1d5b9 dtcm: timeops.c/getdate.y: fix fbsd build errors
Commit e0508b31 introduced build errors on FreeBSD.  This corrects
them.

HAVE_DECL_TIMEZONE should only be used to determine whether or not the
'timezone' variable is defined in a header file or whether it must be
specifically 'extern'ed.

On fbsd, a definition exists, but it is a function in libc and not an
integer timezone value that can be mutliplied or divided.
2021-10-23 21:59:33 -06:00
OBATA Akio
e0508b3130 dtcm: change to detect TZ offset way with configure 2021-10-23 18:29:04 +09:00
OBATA Akio
fb91c9416d dtcm: resolve mismatch between tm.tm_gmtoff and global timezone
`timezone` and `tm.tm_gmtoff` represent reversed sign value each other.
Change `tm.tm_gmtoff` usage to be matched with `timezone`.
2021-10-23 16:54:35 +09:00
Jon Trulson
ca7d34b7ff dtcm: remove register keyword 2018-06-27 22:00:56 -06:00
Peter Howkins
35dc4283e4 dtcm: Change to ANSI function definitions 2018-06-28 04:10:42 +01:00
Ulrich Wilkens
07f272122d Fix Linux rpc problems with new glibc 2018-05-31 18:00:22 -06:00
chase
164e695cd0 remove OSF1 support 2018-05-24 14:25:26 -06:00
Peter Howkins
b578e9cc3a dtcm: Resolve CID 87384 2015-01-15 11:55:09 +00:00
Jon Trulson
daffaf7045 getdate.y: include string.h 2014-03-22 18:59:26 -06:00
Pascal Stumpf
a4f9413950 Fix dtcm build on OpenBSD-current.
libcompat and header files will be gone in the upcoming 5.5 release, so we
cannot use the ftime(3) interface there.  Fall back to the SVR4 version of the
code, but use the tm_gmtoff field of struct tm to get the timezone.
Unfortunately, that is not portable (because I really really would like to
remove that old and crummy struct timeb from the public API).
2014-02-22 19:09:37 -07:00
Pascal Stumpf
57463ec10e OpenBSD fixes for dtcm. There are no global "timezone" and "tzname" symbols on BSD. Apart from that, mainly #ifdefs. 2012-08-10 14:11:54 -06:00
Peter Howkins
cc1d109aa9 Linux compilation of dtcm (Calendar), (Matthew Howkins) 2012-04-11 17:33:26 +01:00
Peter Howkins
83b6996daa Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00