OBATA Akio
e0508b3130
dtcm: change to detect TZ offset way with configure
2021-10-23 18:29:04 +09:00
OBATA Akio
87bdee3d19
dtcm: change to use `_XLocaltime` instead of `localtime` consitently
2021-10-23 16:54:35 +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
OBATA Akio
224f04cb29
dtcm: fix `localtime()` usage
...
It is expexted the first argument is `*time_t`, not `time_t`.
2021-10-23 16:54:35 +09:00
OBATA Akio
16eb6092b0
dtcm: prevent to use `NULL` as a Tick type
...
Tick (aka time_t) shall be an integer type, not a pointer.
Change to use `0` instead of `NULL`.
2021-10-16 17:07:37 +09:00
OBATA Akio
16fe76ed65
Fix to include system header files for using functions
2021-10-08 14:40:56 +09:00
Jon Trulson
51646fb06a
programs/: remove Imakefiles for completed modules
2021-07-03 19:12:43 -06:00
Jon Trulson
e8345c9241
autotools: specify tirpc lib to link the tooltalk binaries
...
Newer ubuntu's do not seem to honor the implied library dependency of
libtt->libtirpc, so we must explicitly specify libtirpc when linking
them.
2021-06-01 18:23:46 -06:00
Jon Trulson
ece5c0ea14
Merge branch 'master' into autotools-conversion
...
Lost the ksh93 submodule so will re-add in a later commit.
2021-01-30 19:04:10 -07:00
Lev Kujawski
13c173d22c
On Linux, use SVR4's (now POSIX) mktime() instead of BSD's non-standard timelocal().
2021-01-10 18:08:00 -07:00
Peter Howkins
d98b2c4c34
dtcm: Always use ANSI function prototypes
2020-11-29 01:55:09 +00:00
Jon Trulson
264871cefb
Fix up a couple issues with multi-core builds and 2 race conditions
2019-11-22 13:42:02 -07:00
Jon Trulson
c329d5cfd7
Remove $(TIRPCINC) from all Makefile.am files - it no longer exists
...
Also, restructure some of the dependencies in the lib/tt binaries. We
will link with libtt (which will include libtirpc as a dependency),
and XTOOLLIB - all the right X11 stuff without needing to add it to
every OS. Removed several uneeded OS specializations ("if LINUX",
etc) as a result.
2019-11-20 18:52:29 -07:00
Jon Trulson
444aa700c0
dtcm: make it build
2019-11-20 17:31:53 -07:00
Jon Trulson
730da7747c
Change "if SUN" conditionals in remaining Makefile.am files to "if SOLARIS"
2019-10-28 18:54:17 -06:00
Chase
ca20cfe55b
programs/dtcm: add automake files
2019-10-23 15:34:20 -06:00
Peter Howkins
e2f1df0c8b
dtcm: Coverity 89185
2018-07-13 19:26:38 +01:00
Peter Howkins
8950afd36a
dtcm: Coverity 87565
2018-07-13 19:13:13 +01:00
Peter Howkins
3a4527980d
dtcm: Coverity 89313
2018-07-13 19:06:58 +01:00
Peter Howkins
f6886761da
dtcm: Coverity 176055
2018-07-13 19:05:33 +01:00
Peter Howkins
4908fbb49a
dtcm: Coverity 88350
2018-07-13 19:00:54 +01:00
Peter Howkins
8f5048d54f
dtcm: Coverity 88279
2018-07-13 18:59:43 +01:00
Peter Howkins
8e11140662
dtcm: Coverity 88250
2018-07-13 18:49:37 +01:00
Peter Howkins
cc79da451b
dtcm: Coverity 88745
2018-07-13 18:48:31 +01:00
Peter Howkins
c2c9c01051
dtcm: Coverity 89232
2018-07-13 18:47:22 +01:00
Peter Howkins
ce9bc0603a
dtcm: Coverity 89341
2018-07-13 18:44:12 +01:00
Peter Howkins
c4940d8f78
dtcm: Coverity 89517
2018-07-13 18:42:56 +01:00
Peter Howkins
cad7519b46
dtcm: Coverity 88200
2018-07-13 18:41:13 +01:00
Peter Howkins
261adc44d0
dtcm: Coverity 88494
2018-07-13 18:39:35 +01:00
Peter Howkins
2e0716d5cf
dtcm: Coverity 88079
2018-07-13 18:38:06 +01:00
Peter Howkins
1563031cd8
dtcm: Coverity 89160
2018-07-13 18:36:50 +01:00
Peter Howkins
a047b0be0e
dtcm: Coverity 89595
2018-07-13 18:35:25 +01:00
Peter Howkins
abf0b710b7
dtcm: Coverity 88253
2018-07-13 18:34:09 +01:00
Peter Howkins
67e1ccffc6
dtcm: Coverity 89371
2018-07-13 18:32:55 +01:00
Peter Howkins
1dfff588d6
dtcm: Coverity 89398
2018-07-13 18:31:25 +01:00
Peter Howkins
8edba6be7b
dtcm: Coverity 88778
2018-07-13 18:29:52 +01:00
Peter Howkins
49f7c0afa0
dtcm: Coverity 89234
2018-07-13 18:28:35 +01:00
Peter Howkins
24c4935c08
dtcm: Coverity 89207
2018-07-13 18:27:08 +01:00
Peter Howkins
a0bcb1ebf7
dtcm: Coverity 88326
2018-07-13 18:26:02 +01:00
Peter Howkins
11908ababe
dtcm: Coverity 88206
2018-07-13 18:24:58 +01:00
Peter Howkins
de3993130a
dtcm: Also make sure to reset non pointer fields, so that on future failures they don't return stale data (due to static)
2018-07-13 18:22:53 +01:00
Peter Howkins
bd82f93d1c
dtcm: When deleting data, set the pointer to NULL to avoid returning a pointer to freed data on future errors
2018-07-13 18:18:50 +01:00
Peter Howkins
e3b77b6cb2
dtcm: Coverity 89544
2018-07-13 18:14:35 +01:00
Peter Howkins
80d5547e00
dtcm: Coverity 89542
2018-07-13 18:13:01 +01:00
Peter Howkins
364fa12f7b
dtcm: Coverity 89535
2018-07-13 18:11:09 +01:00
Peter Howkins
c7e9625629
dtcm: Coverity 89499
2018-07-13 18:09:23 +01:00
Peter Howkins
622c2e541f
dtcm: Coverity 89413
2018-07-13 18:08:12 +01:00
Peter Howkins
803d0f94e5
dtcm: Coverity 89081
2018-07-13 18:06:36 +01:00
Peter Howkins
a4ba36aa0a
dtcm: Coverity 88669
2018-07-13 18:04:33 +01:00
Peter Howkins
67d6a3f15d
dtcm: Coverity 88647
2018-07-13 18:03:00 +01:00