Liang Chang
ff952fcfbc
dtcm: Avoid to leave an unclosable window when there is no appointment in
...
"Appointment List...".
2021-06-02 19:56:27 -06:00
Liang Chang
e7402803df
dtcm: fix a segfault that occurred when opening the "Appointment List..." in
...
the "View" menu.
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
Chase
2642674ed4
dtcm: make /var/spool/calendar for user
2021-03-14 15:09:03 -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
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
wmoxam
ab741a1241
'notdef' means it's not used, so we remove it
2019-10-15 20:32:13 -06:00
Jon Trulson
fd3cffcb37
dtcalc: increase highlight thickness to match Solaris CDE
...
This patch was manually added via a diff supplied from a user on the
CDE mailing list: Michele Ghisolfo <ghisolfo.m@gmail.com >
2019-10-14 14:30:58 -06:00
Jose Rubio
db7370b62b
Cleanup of -Wpointer-compare warnings.
2019-08-19 18:02:25 +02:00
Adam Sampson
ae499c794e
Explicitly initialise two more static pointers
...
"dtcm: Coverity 88006" fixed this for buf, but not for string in the
same function (and we may as well initialise string_head for consistency
too).
2019-01-26 00:07:36 +00:00
Adam Sampson
162c88b6ea
Don't dereference an uninitialised pointer
...
This was an incorrect fix in "dtcm: Coverity 88382".
2019-01-26 00:05:54 +00:00
Adam Sampson
a97ab71059
Avoid a NULL pointer dereference
...
"dtcm: Coverity 89051" fixed an instance of this on the previous line,
but not this one.
2019-01-26 00:03:34 +00:00
Chase
4d7f9df692
Use iconv on linux
2019-01-14 10:48:28 -07:00
Jon Trulson
f6d83dd5e3
Merge branch 'master' into cde-next
2018-08-01 19:18:17 -06:00
chase
66db2259f7
Remove redundant motif widgets
2018-07-29 16:52:44 -06:00
Peter Howkins
10a0f55b4a
dtcm: Coverity 89051
2018-07-13 19:25:15 +01:00
Peter Howkins
6d7525e174
dtcm: Coverity 88955
2018-07-13 19:24:11 +01:00
Peter Howkins
f4a5433f32
dtcm: Coverity 88884
2018-07-13 19:23:05 +01:00
Peter Howkins
3af957e308
dtcm: Coverity 88382
2018-07-13 19:19:58 +01:00
Peter Howkins
a0edcdcc42
dtcm: Coverity 88069
2018-07-13 19:16:00 +01:00
Peter Howkins
67fb14c52b
dtcm: Coverity 87942
2018-07-13 19:14:45 +01:00
Peter Howkins
c7a649afb9
dtcm: Coverity 88006
2018-07-13 19:11:29 +01:00
Peter Howkins
9e038c8b2b
dtcm: Coverity 89685
2018-07-13 19:04:37 +01:00
Peter Howkins
e718778ead
dtcm: Coverity 89111
2018-07-13 19:02:57 +01:00
Peter Howkins
28170c2a62
dtcm: Coverity 88533
2018-07-13 19:01:47 +01:00
Peter Howkins
6826ecc3d3
dtcm: Coverity 88056
2018-07-13 18:55:47 +01:00
Peter Howkins
4be7b85e01
dtcm: Coverity 87745 and 88154
2018-07-13 18:54:01 +01:00
Peter Howkins
dfa296e34e
dtcm: Coverity 87364
2018-07-13 18:52:08 +01:00
Peter Howkins
2fee85a608
dtcm: Coverity 174819
2018-07-13 17:39:03 +01:00
Peter Howkins
801ed535e1
dtcm: Coverity 174713
2018-07-13 17:37:55 +01:00
Peter Howkins
603e917918
dtcm: Coverity 87931
2018-07-13 17:34:42 +01:00
Peter Howkins
b24e4a3e6f
dtcm: Coverity 89667
2018-07-13 17:27:41 +01:00
Peter Howkins
4509d5b4dd
dtcm: Fix typo
2018-07-13 17:07:15 +01:00
Peter Howkins
909fb0b431
dtcm: Increase buffer size to prevent warning
2018-07-13 17:03:19 +01:00
Peter Howkins
6f5bd6cf4e
dtcm: Coverity 88351
2018-07-13 17:02:27 +01:00
Peter Howkins
8e9d0e5282
dtcm: Coverity 88672
2018-07-13 16:36:56 +01:00
Peter Howkins
89427d0972
dtcm: Coverity 88978
2018-07-13 16:31:21 +01:00
Peter Howkins
ea58823eb4
dtcm: Coverity 89423
2018-07-13 16:27:48 +01:00
Peter Howkins
263bcdce84
dtcm: Extend string buffer to prevent warning
2018-07-13 16:27:15 +01:00
Peter Howkins
e91f12cc54
dtcm: Coverity 174810
2018-07-05 00:10:58 +01:00
Peter Howkins
39461d7548
dtcm: Coverity 89645
2018-07-05 00:08:55 +01:00
Peter Howkins
fd56fc4b74
dtcm: Coverity 89641
2018-07-05 00:06:59 +01:00
Peter Howkins
caee0e9cb5
dtcm: Coverity 89502
2018-07-05 00:00:57 +01:00