Jon Trulson
2a77e84e87
libDtCmP: use TIRPC on linux, fix some warnings
2018-05-31 22:23:19 -06:00
Jon Trulson
2bcd57ce33
dtcm/graphics: NULL is not 0
2018-05-31 22:23:19 -06:00
Jon Trulson
ee4a0a37ea
rpc.cmsd: use TIRPC on Linux
2018-05-31 22:23:19 -06:00
Jon Trulson
a05ab67e12
XlationSvc: remove a "'" added in previous spelling commit that causes warnings
2018-05-31 22:23:19 -06:00
Jon Trulson
8d2fe2486c
Imake.tmpl: don't delete logfiles (make.log MakeOut)
2018-05-31 22:23:19 -06:00
Jon Trulson
d6d055c981
installCDE.src: Add a -destdir <dir> option
...
Using this option, all files are installed under <dir> rather than
root '/'.
2018-05-31 22:23:19 -06:00
Jon Trulson
3495287b78
tt_xdr_utils: fix up some warnings
2018-05-25 11:16:04 -06:00
Jon Trulson
7f9634010b
tt_old_db: use TT_DB_OK instead of NULL
2018-05-25 10:23:18 -06:00
Jon Trulson
77cdabb8f6
TermPrimSetUtmp: fix lost define broken by last patch
2018-05-24 18:52:53 -06:00
Jon Trulson
3c1736f077
CDE-DEMOS: remove references to Makefile.novell
2018-05-20 13:00:06 -06:00
Jon Trulson
beea573d17
CDE-MAN-DEV.udb: remove extra }, added when UXP support was removed
2018-05-15 21:18:53 -06:00
Jon Trulson
c936a8c065
dtfile/File.c: implement a hack to fix Ticket #19 , tree icons are black
...
The real issue seems to be a bug in Motif. The background color for
these tree icons is always black. Depending on what Palette you have
selected, it's possible for the foreground color to be black. When
this happens, you will see a black square since both fg and bg are now
black.
You can select another Palette that works (ie: foreground is white)
and the problem goes away. So, for now, we always force a white
foreground color so the actual symbols are visible in tree mode.
2018-04-29 20:01:43 -06:00
Jon Trulson
17101b6f4c
Enable TIRPC support for Linux
...
This is enabled by default. To disable, add:
in the config/cf/site.def or host.def file.
You will need to have the libtirpc-dev package installed.
The benefit is that you will no longer need to run rpcbind in insecure
mode (the -i option). There are other benefits we may be able to take
advantage of in the future, like supporting IPV6 for ToolTalk.
2018-04-12 21:00:34 -06:00
Jon Trulson
ae6b787c66
dtbuilder/Imakefile: fix clean target to remove dtbuilder executable
2018-04-12 13:38:38 -06:00
Jon Trulson
a1e23fe130
dtfile/FileOp: CID 175228
2018-04-12 11:58:34 -06:00
Jon Trulson
07fe841363
dtfile/FileDialog: CID 175220
2018-04-12 11:45:38 -06:00
Jon Trulson
1321d4c299
dtfile/SharedProcs: CID 175229
2018-04-12 11:30:59 -06:00
Jon Trulson
8e4b6605bf
dtfile/dtcopy/sharedFuncs: CID 175225
2018-04-12 11:21:06 -06:00
Jon Trulson
fd5fe65616
dtfile/Desktop: CID 175219,175222,175223,175226,175227
2018-04-12 11:10:42 -06:00
Jon Trulson
7c3c03388a
dtfile/Encaps: CID 174844
2018-04-11 16:25:52 -06:00
Jon Trulson
d8d8508fe3
dtfile/Main: CID 89623
2018-04-11 16:25:52 -06:00
Jon Trulson
c73ad48482
dtfile/dtcopy/dosync: CID 89374
2018-04-11 16:25:52 -06:00
Jon Trulson
1fa5834c60
dtfile/Menu: CID 89222
2018-04-11 16:25:52 -06:00
Jon Trulson
43a5b19ea0
dtfile/dtcopy/fsrtns: CID 88868,88128
2018-04-11 16:25:52 -06:00
Jon Trulson
3ba5c25a55
dtfile/Directory: CID 88835,89096,89446,89469,89498
2018-04-11 16:25:52 -06:00
Jon Trulson
ca7c8308e1
dtfile/Command: CID 88819
2018-04-11 16:25:52 -06:00
Jon Trulson
7d77cc21e0
linux.cf: Add -Wno-unused-result to C flags
...
There are several hundred of these and unless you intend to fix them,
they are just compiler noise. If someone does want to go back and
redo all of these, then they can just re-enable this warning.
2018-04-11 16:25:52 -06:00
Jon Trulson
4ddbc11557
dtfile/FileOp: CID 88744,89337,89546
2018-04-11 16:25:52 -06:00
Jon Trulson
aa2a529e25
dtfile/Trash: CID 88638,88815,89061,89614
2018-04-11 16:25:52 -06:00
Jon Trulson
54f8982c61
dtfile/Help: CID 88598
2018-04-11 16:25:52 -06:00
Jon Trulson
141bfca04e
dtfile/FileMgr: CID 88441,89025,174801
2018-04-11 16:25:52 -06:00
Jon Trulson
e2162e0800
dtfile/Find: CID 88258,87250
2018-04-11 16:25:52 -06:00
Jon Trulson
32e8827cbc
dtfile/IconWindow: CID 88242,88702,89030
2018-04-11 16:25:52 -06:00
Jon Trulson
19d824c2cc
dtfile/dtcopy/sharedFuncs: CID 88204,88291,88852,88861,88876
2018-04-11 16:25:52 -06:00
Jon Trulson
51b7590c63
dtfile/File: CID 88195,88595,88627,88794
2018-04-11 16:25:52 -06:00
Jon Trulson
d30719f3a2
dtfile/SharedProcs: CID 88158,88337,89104,89118
2018-04-11 16:25:52 -06:00
Jon Trulson
dd03c9cbf7
dtfile/FileDialog: CID 88141,88451,88658,89058
2018-04-11 16:25:52 -06:00
Jon Trulson
7e61925f1b
dtfile/Desktop: CID 88133,88159,88339,88798,89331,89466
2018-04-11 16:25:52 -06:00
Jon Trulson
694b6ef5eb
dtfile/Prefs: CID 88095,88407,89162,89164,89283,89445
2018-04-11 16:25:52 -06:00
Jon Trulson
56b53a30a1
Reimplement reverted commit 7fa35c to fix readlink() issues
...
Original implementation:
Commit: 7fa35cA
dtfile: coverity CIDs 88363,88405,89140,89612; insecure readlink
That commit caused dtfile to be unable to resolve symbolic links and
was later reverted. This commit reimplements the fixes correctly, and
should hopefully still resolve the coverity issues as well.
2018-04-10 19:12:58 -06:00
Jon Trulson
f4e3cb8327
dthelp/FormatUtils: fix coredump in dthelpgen due to free() of a bad address
2018-04-10 16:30:25 -06:00
Jon Trulson
88cbe518a4
installCDE/linux: don't try to edit/modify /etc/inetd.conf if it does not exist
...
Modern systems use xinetd anyway, so this code just creates useless
junk and error messages on installation.
2018-04-10 13:44:29 -06:00
Jon Trulson
6fff16a049
Remove admin/man, *nameswitch; none of this is pertinent anymore
2018-04-10 12:52:36 -06:00
Jon Trulson
ad01bb2067
Remove admin/bin; none of this is pertinent anymore
2018-04-10 12:52:32 -06:00
Jon Trulson
0ec76e2912
Remove admin/BuildTools; none of this is pertinent anymore
2018-04-10 12:52:25 -06:00
Jon Trulson
4ca27ae51a
Remove admin/BuildTools/fnrclone/; obsolete junk
2018-04-10 12:32:28 -06:00
Jon Trulson
9a3a9e3010
Revert "dtfile: coverity CIDs 88363,88405,89140,89612; insecure readlink"
...
This reverts commit 7fa35c29c4 .
2018-04-05 15:44:37 -06:00
Jon Trulson
70f85d77cc
dtfile/sharedFuncs: CID 88085; resource leak
2018-04-05 13:28:04 -06:00
Jon Trulson
caa95ba67c
dtfile: define MAX_PATH to PATH_MAX rather than 1024, also CID 87557
2018-04-05 12:49:06 -06:00
Jon Trulson
f7d09f054d
dtfile/SharedProcs.c: rework coverity 174852 fix to unbreak dtfile
2018-04-03 21:28:49 -06:00
Jon Trulson
8f7c874ba0
fontaliases: use copy rather than symlink since bdftopcf can't handle those
...
bdftopcf specifically will not read symbolic links. This causes it to
fail when creating the programs/fontaliases/*/C/dtinfo.pcf.Z file and
subsequently, the fonts.dir file.
So, we add a new Imake macro: CopySourceFile(), to copy rather than
symlink the dtinfo.bdf file so these operations can complete
successfully. The dtinfo.bdf file is only 5KB, so there's very little
impact having an extra copy created during a build.
2018-04-03 13:03:26 -06:00
Jon Trulson
7f70748d65
Disable building of dtudcfonted and dtudcexch
...
This software has a variety of problems, like including renamed X11
header files, and other nuttery.
These programs also have a very limited use, I doubt most people even
know what they are for or will miss them.
This commit prevents them from being built and installed. If no-one
volunteers to get these into decent shape after the next release, they
will be removed from the repository.
2018-04-02 19:38:14 -06:00
Jon Trulson
c4e7d35519
dtcm/dssw.c: fix typo
2018-04-02 18:43:14 -06:00
Jon Trulson
ba95bbc073
dtudcfonted/gpftobdf.c: Coverity CID 175168; NULL deref
2018-04-02 18:23:22 -06:00
Jon Trulson
45bccb474c
dtcalc/ds_xlib.c: Coverity CID 175167; uninit value
2018-04-02 18:07:54 -06:00
Jon Trulson
d5c304d476
dtcm/dssw.c: Coverity CID 88672; dest buf too small
2018-04-02 17:02:16 -06:00
Jon Trulson
f269c2a074
dtsr/dtsrclean.c: Coverity CID 86876; dest buf too small
2018-04-02 17:02:16 -06:00
Jon Trulson
4e61c62742
libDtSearch/dtsrapi.c: Coverity CID 86857; dest buf too small
2018-04-02 17:02:16 -06:00
Jon Trulson
2cac2a29ac
dtwm/WmResource.c: remove errant ')' added in previous commit
2018-04-02 12:22:32 -06:00
Jon Trulson
4b9bcae29f
dtcreate/fileio.c: coverity CID 175094; dref bef NULL
2018-04-01 18:41:54 -06:00
Jon Trulson
dbe044c24c
dtcreate/CreateActionAppShell.c: coverity CID 175092; uninit ptr read
2018-04-01 18:35:14 -06:00
Jon Trulson
2363b97d60
dtcalc: remove MAX_PATH, use standard PATH_MAX
2018-04-01 18:33:00 -06:00
Jon Trulson
ce471d7068
dtcalc/ds_xlib.c: coverity CID 175093; wrong sizeof/bad free
2018-04-01 18:30:10 -06:00
Jon Trulson
75a892d93f
dtudcfonted/_faludcInf.c: coverity CIDs 175096,175092; uninit ptr read
2018-04-01 18:06:10 -06:00
Jon Trulson
03ba4e454c
dtudcfonted/gpftobdf.c: coverity CIDs 87073,87008,87029,86919,86898,86715; uninit scalar
2018-04-01 14:42:38 -06:00
Jon Trulson
78110e7921
libtt/isrepair.c: coverity CID 86705; uninit ptr read
2018-04-01 14:25:34 -06:00
Jon Trulson
3020b050ff
dtfile/File.c: coverity CID 88919; uninit array read
2018-04-01 14:21:57 -06:00
Jon Trulson
cd70f1660d
dthelp/Initialize.c: coverity CID 89569; unbounded src buf
2018-04-01 14:16:18 -06:00
Jon Trulson
0843325a43
dtcm/props.c: coverity CID 88573; unbounded src buf
2018-04-01 14:04:25 -06:00
Jon Trulson
5729327cc8
dtexec,DtSvc/MsgLog.c: coverity CID 89585; resource leak
2018-04-01 13:54:22 -06:00
Jon Trulson
adb0acbaf5
dtudcfonted/getfname.c: coverity CID 86392; insecure readlink
2018-04-01 13:46:14 -06:00
Jon Trulson
7fa35c29c4
dtfile: coverity CIDs 88363,88405,89140,89612; insecure readlink
2018-04-01 13:46:04 -06:00
Jon Trulson
b4c4fb594d
dtfile/SharedProcs.c: coverity CID 174852; int overflow
2018-03-31 19:12:32 -06:00
Jon Trulson
9412da725b
libtt/tt_file_system.C: coverity CID 86024; array vs singlton
2018-03-31 19:05:35 -06:00
Jon Trulson
77d10002bf
dtmail/MsgScrollingList.C: coverity CID 87360; memset no effect
2018-03-31 18:55:56 -06:00
Jon Trulson
05773d7499
dtinfo/OutlineListViewMotif.C: coverity CID 87754; memset truncated
2018-03-31 18:53:29 -06:00
Jon Trulson
2c2fb1151d
csa/match.c: coverity CID 87204; bad free; WTF
2018-03-31 18:36:22 -06:00
Jon Trulson
7752966865
dthelp/helpgen.c: coverity CID 175085; use after free
2018-03-31 18:21:14 -06:00
Jon Trulson
ec93faffe7
dtfile/Help.c: coverity CID 88484; use after free
2018-03-31 18:11:14 -06:00
Jon Trulson
4543bc6192
libtt/process.c: coverity CID 87051; use after free
2018-03-31 18:08:02 -06:00
Jon Trulson
6cd0391409
libtt/db_server_svc.C: coverity CID 87060; string overflow
2018-03-31 18:02:11 -06:00
Jon Trulson
bbf028becc
dthelp/htag/malloc: coverity CID 86955; use after free
2018-03-31 17:52:27 -06:00
Jon Trulson
ecee8b3f3a
dtmail/DtMailRc.C: coverity CID 88975; use after free
2018-03-31 17:46:53 -06:00
Jon Trulson
a8102e85e0
dtfile/Main.c: coverity CID 89623; uninit var
2018-03-31 17:34:40 -06:00
Jon Trulson
e7269115b5
dtfile/sharedFuncs.c: coverity CID 88625; use after free
2018-03-31 17:25:35 -06:00
Jon Trulson
c32b5db653
dtfile/SharedProcs.c: coverity CID 89068; use after free
2018-03-31 17:21:34 -06:00
Jon Trulson
0c0b77a509
dtinfo/MixedGen.C: coverity CID 89495; use after free
2018-03-31 14:42:22 -06:00
Jon Trulson
3c72e21cb2
dtspcd: coverity CID 174742; potential NULL derefs
2018-03-31 14:33:31 -06:00
Jon Trulson
af58b6be10
dtinfo/DtSR: coverity CID 88552; memory corruption
2018-03-31 14:33:31 -06:00
Jon Trulson
8862366f00
dtinfo/TextParser.C: coverity CID 89054; mem corruption
2018-03-31 14:33:23 -06:00
Jon Trulson
5dc346b033
CDE-RUN: remove osf bindings
2018-03-28 12:49:53 -06:00
Jon Trulson
700b9d2dd4
Remove old cruft: osf/* and utils/prog*
...
The osf/ stuff includes uil, wml, etc - we expect these to be provided
by Motif, and make no attempt to build them in CDE, so no need for
them.
The only program in utils/prog/ is an ancient verion of lndir that we
do not need for CDE. If you need lndir for some reason, use the
laters version from Xorg, usually installed via the xutils-dev
package.
2018-03-28 12:15:04 -06:00
Jon Trulson
129ef945b9
dtappbuilder: Add patches from Robert Pangrazio fixing coredumps
2017-08-05 18:49:07 -06:00
Jon Trulson
a173dd3b3b
release: update version to 2.2.4, update HISTORY
2016-06-19 12:46:29 -06:00
Jon Trulson
e121a25ef2
contrib: some enhancements to the scrotps provided by Edmond Orignac
2016-06-18 20:18:52 -06:00
Jon Trulson
6bc5c658b8
dtappbuilder: replace accidental %a with %% in write_func_as_strings()
2015-12-18 10:28:37 -07:00
Jon Trulson
07e84caf74
dbtoman: fix missing arg to fprintf
2015-12-18 10:00:12 -07:00
Jon Trulson
10742f3679
ttcp: fix missing arg to fprintf
2015-12-18 09:55:20 -07:00
Jon Trulson
1e2e373082
dtlogin: use XDM authentication instead of MIT/DES on linux
2015-11-26 14:08:23 -07:00
Jon Trulson
05445493d9
ksh: fix up shipin for more modern systems WRT test and wc
...
Patch submitted by Giacomo Comes.
2015-11-22 15:37:40 -07:00