Patrick Georgi
de2c06c54d
remove system library prototypes
2025-12-18 22:58:26 +01:00
Peter Howkins
04fcc11f12
dtcm: Resolve format-overflow issues
2021-12-24 10:50:28 -07:00
Peter Howkins
2c134302c8
dtcm: Resolve uninitialized warnings
2021-12-24 10:50:28 -07: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
e10d06f210
configure/Makefiles: add checks for Xmu, Xext, and Xdmcp
...
We also remove sun pro specific options, and do some general cleanup
as well as remove hardcoded library refs like -lXm, -lXext, etc...
2021-12-21 16:42:22 -07:00
Jon Trulson
0ee97b3645
dtcm: fix implicit-function-declaration warnings
2021-11-16 14:46:48 -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
OBATA Akio
2c9db8fe37
dtcm: include <iso8601.h> of libcsa to resolve type mismatch
2021-10-12 17:24:26 +09:00
Jon Trulson
51646fb06a
programs/: remove Imakefiles for completed modules
2021-07-03 19:12:43 -06:00
Liang Chang
4190143c91
dtcm: fix a segfault when "Drag Appt" in the dtcm_editor.
2021-06-02 19:56:26 -06:00
Lev Kujawski
a6ea2a2d52
Centralize catgets() calls through MsgCat
...
CDE has relied upon catgets() implementations following a relaxed
interpretation of the XPG internationalization standard that ignored
-1, the standard error value returned by catopen, as the catalog
argument. However, this same behavior causes segmentation faults with
the musl C library.
This patch:
- Centralizes (with the exception of ToolTalk) all calls to catopen(),
catgets(), and catclose() through MsgCat within the DtSvc library.
- Prevents calls to catgets() and catclose() that rely upon
undefined behavior.
- Eliminates a number of bespoke catgets() wrappers, including multiple
redundant caching implementations designed to work around a design
peculiarity in HP/UX.
- Eases building CDE without XPG internationalization support by providing
the appropriate macros.
2021-06-02 19:55:15 -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
Peter Howkins
d98b2c4c34
dtcm: Always use ANSI function prototypes
2020-11-29 01:55:09 +00:00
Jon Trulson
90e61dda5f
Merge branch 'master' into autotools-conversion
2020-11-24 16:53:24 -07:00
Peter Howkins
67f62e5a8a
all: remove deprecated sys_errlist[] and replace with ANSI C strerror()
2020-11-02 05:30:08 +00: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
Jose Rubio
db7370b62b
Cleanup of -Wpointer-compare warnings.
2019-08-19 18:02:25 +02:00
Peter Howkins
b260bc25d5
dtcm: Coverity 89143
2018-07-13 17:13:18 +01:00
Peter Howkins
cc3d276d31
dtcm: Coverity 88917
2018-07-13 17:12:23 +01:00
Peter Howkins
c180f33d90
dtcm: Coverity 88860
2018-07-13 17:11:31 +01:00
Peter Howkins
10e4871825
dtcm: Coverity 88648
2018-07-13 17:10:26 +01:00
Peter Howkins
a0ee9a7fd2
dtcm: Coverity 88236
2018-07-13 17:07:56 +01:00
Peter Howkins
4111b85da8
dtcm: Coverity 88636
2018-07-13 16:40:04 +01:00
Peter Howkins
6d6f5098c5
dtcm: Coverity 89273
2018-07-13 16:29:19 +01:00
Peter Howkins
29dabbd900
dtcm: Coverity 89439 and 89458
2018-07-04 23:58:03 +01:00
Peter Howkins
0da93b0d43
dtcm: Coverity 89273
2018-07-04 23:55:29 +01:00
Peter Howkins
8620b2e27b
dtcm: Coverity 89021
2018-07-04 23:50:31 +01:00
Peter Howkins
d46a8e8d94
dtcm: Coverity 88165
2018-07-04 23:23:32 +01:00
Peter Howkins
4d0c2752f7
dtcm: Coverity 89212, 88188 and 88636
2018-07-04 22:11:44 +01: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
Jon Trulson
2a77e84e87
libDtCmP: use TIRPC on linux, fix some warnings
2018-05-31 22:23:19 -06:00
chase
809c3d8bb6
Spelling fixes
2018-05-31 22:23:19 -06:00
Ulrich Wilkens
297b6bd845
Fix warnings on FreeBSD
2018-05-31 22:04:08 -06:00
Ulrich Wilkens
07f272122d
Fix Linux rpc problems with new glibc
2018-05-31 18:00:22 -06:00
chase
4f5e7fe5e3
Use POSIX macros for linux
2018-05-24 18:22:55 -06:00
chase
164e695cd0
remove OSF1 support
2018-05-24 14:25:26 -06:00
chase
07900bd93b
Remove Unixware and openserver support
2018-05-20 12:13:07 -06:00
chase
8a4f389634
Remove UXPDS support
2018-05-15 20:27:22 -06:00
chase
33d2749ea3
Last of the spelling fixed
2018-04-28 12:36:44 -06:00
chase
6d3a19d8f9
Even more spelling fixed
2018-04-28 12:36:33 -06:00
chase
1fe5a550b2
Fix typo in license headers
2018-04-28 12:30:20 -06:00
Jon Trulson
0843325a43
dtcm/props.c: coverity CID 88573; unbounded src buf
2018-04-01 14:04:25 -06:00
Ulrich Wilkens
8b38d9ea49
Fix broken build on OpenBSD
2015-05-09 16:21:32 -06:00
Peter Howkins
85b7e823c4
dtcm: Resolve CID 87408
2015-01-15 11:59:20 +00:00