1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00
Commit graph

1350 commits

Author SHA1 Message Date
Jon Trulson
88dd3b2c71 dtlogin: remove register keyword 2018-06-27 22:20:34 -06:00
Jon Trulson
97264ba971 dtksh: remove register keyword 2018-06-27 22:20:34 -06:00
Jon Trulson
556ce45298 dtinfo: remove register keyword 2018-06-27 22:20:34 -06:00
Jon Trulson
7c0de21ad4 dtinfo: remove TKTemplate.nd.c 2018-06-27 22:17:25 -06:00
Jon Trulson
424b662372 dtimsstart: remove register keyword 2018-06-27 22:17:25 -06:00
Jon Trulson
ea2d3927c7 dtfile: remove register keyword 2018-06-27 22:14:51 -06:00
Jon Trulson
55a80f00cf dtdocbook: remove register keyword 2018-06-27 22:14:51 -06:00
Jon Trulson
ca7d34b7ff dtcm: remove register keyword 2018-06-27 22:00:56 -06:00
Jon Trulson
b7599ec2a2 dtcalc: remove register keyword 2018-06-27 22:00:56 -06:00
Jon Trulson
f4776c21d7 dtappbuilder: remove register keyword 2018-06-27 22:00:56 -06:00
Jon Trulson
3e81f467be dtaction: remove register keyword 2018-06-27 22:00:56 -06:00
Jon Trulson
b0fd79a680 tt/bin: remove register keyword 2018-06-27 22:00:56 -06:00
Jon Trulson
34436c7725 tt/lib: remove register keyword 2018-06-27 22:00:56 -06:00
Jon Trulson
904a48b822 lib/pam: remove register keyword 2018-06-27 21:59:18 -06:00
Jon Trulson
d5eff36867 lib/pam/examples/login: remove register keyword 2018-06-27 21:59:18 -06:00
Jon Trulson
02c70c739d lib/csa: remove register keyword 2018-06-27 21:59:18 -06:00
Jon Trulson
3b1316112a DtWidget: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
b5a3c00671 DtTerm/util: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
00aafb206e DtSvc/DtUtil2: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
f446ca54e9 DtSvc/DtUtil1: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
dbef83212a DtSvc/DtEncap: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
11ad65226d DtSvc/DtCodelibs: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
57ce407976 lib/DtSearch: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
8e48100c12 DtSearch/raima: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
b9d605c8ea lib/DtPrint: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
5b5ac72691 lib/DtHelp: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
2760adaab3 lib/DtHelp/jpeg: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
e9d0d91cad lib/DtHelp/il: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
7125b437f1 examples/dtwsm: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
b2a4d3c202 util/dbtoman/instant: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
4aa9392e98 util/mkshadow: delete ancient unused utility 2018-06-27 21:58:04 -06:00
Jon Trulson
29ea5f794d makedepend: remove register keyword 2018-06-27 21:58:04 -06:00
Peter Howkins
aad31c8e27 localized/util: Change to ANSI function definitions 2018-06-28 04:25:29 +01:00
Peter Howkins
9f91dca0c5 dttypes: Change to ANSI function definitions 2018-06-28 04:24:58 +01:00
Peter Howkins
8039ffe36f dtsr: Change to ANSI function definitions 2018-06-28 04:24:28 +01:00
Peter Howkins
75ea917380 dtpad: Change to ANSI function definitions 2018-06-28 04:24:03 +01:00
Peter Howkins
3503243d14 dthelp: Change to ANSI function definitions 2018-06-28 04:23:35 +01:00
Peter Howkins
97005a091e dtscreen: Change to ANSI function definitions 2018-06-28 04:23:07 +01:00
Peter Howkins
6f41ecc453 dtterm: Change to ANSI function definitions 2018-06-28 04:22:06 +01:00
Peter Howkins
403911407b dtstyle: Change to ANSI function definitions 2018-06-28 04:21:25 +01:00
Peter Howkins
e225c95486 dtpdmd: Change to ANSI function definitions 2018-06-28 04:20:53 +01:00
Peter Howkins
feee238aef dtpdm: Change to ANSI function definitions 2018-06-28 04:20:10 +01:00
Peter Howkins
1c545e12d2 dtimsstart: Change to ANSI function definitions 2018-06-28 04:19:15 +01:00
Peter Howkins
94f78da5df dtsession: Change to ANSI function definitions 2018-06-28 04:18:25 +01:00
Peter Howkins
f20747f139 dtwm: Change to ANSI function definitions 2018-06-28 04:17:53 +01:00
Peter Howkins
2d60124e03 dtlogin: Change to ANSI function definitions 2018-06-28 04:16:41 +01:00
Peter Howkins
806257b154 dticon: Change to ANSI function definitions 2018-06-28 04:15:59 +01:00
Peter Howkins
4cf746f177 dtinfo: Change to ANSI function definitions 2018-06-28 04:15:16 +01:00
Peter Howkins
e239c31702 dtfile/dtcopy: Change to ANSI function definitions 2018-06-28 04:14:11 +01:00
Peter Howkins
e57fa0384f dtfile: Change to ANSI function definitions 2018-06-28 04:13:21 +01:00
Peter Howkins
948baafd17 dtdocbook: Change to ANSI function definitions 2018-06-28 04:12:10 +01:00
Peter Howkins
3baf0744f2 dtcreate: Change to ANSI function definitions 2018-06-28 04:11:21 +01:00
Peter Howkins
35dc4283e4 dtcm: Change to ANSI function definitions 2018-06-28 04:10:42 +01:00
Peter Howkins
7936fae07b dtcalc: Change to ANSI function definitions 2018-06-28 04:09:20 +01:00
Peter Howkins
bb7ac1f24e dtappbuilder: Change to ANSI function definitions 2018-06-28 04:08:35 +01:00
Peter Howkins
6478653e18 dsdm: Change to ANSI function definitions 2018-06-28 04:07:44 +01:00
Peter Howkins
020d592338 libtt: Change to ANSI function definitions 2018-06-28 04:06:47 +01:00
Peter Howkins
6b09b19351 libDtTerm: Change to ANSI function definition 2018-06-28 04:01:19 +01:00
Peter Howkins
ba513278b9 libDtSvc: Change to ANSI function definitions 2018-06-28 03:58:49 +01:00
Peter Howkins
a5fa1313c4 libDtMrm: Change to ANSI function definitions 2018-06-28 03:56:02 +01:00
Peter Howkins
e6f38a9910 libcsa: Change to ANSI function definitions 2018-06-28 03:54:49 +01:00
Peter Howkins
e43dbc5460 libDtHelp: Change to ANSI function definitions 2018-06-28 03:53:31 +01:00
Ulrich Wilkens
eb811f26f8 Use installed X11 includes and libs 2018-06-27 20:51:58 -06:00
Peter Howkins
ed5d952294 dbtoman: Change to ANSI function definitions 2018-06-28 03:51:33 +01:00
Peter Howkins
b286be89d0 config/util: Change to ANSI function definitions 2018-06-28 03:49:38 +01:00
Matthew R. Trower
cd52651a3a Fix DtMail compilation on Sun with GCC 2018-06-27 11:34:00 -06:00
Ulrich Wilkens
32eefa310a Reenable gcc support on FreeBSD and OpenBSD 2018-06-27 11:13:06 -06:00
Matthew R. Trower
a166c36592 Enable building against an arbitrary Motif installation
* Give MotifProjectRoot priority over system libs
* Switch to UseInstalledMotif (but retain necessary imports)
2018-06-26 16:53:00 -06:00
Peter Howkins
bcb6aa9fa9 dtfile: Remove define MULTIBYTE which is always on for CDE 2018-06-25 01:24:31 +01:00
Peter Howkins
115c1a25d8 dtwm: In CDE we always build with MULTIBYTE support, disable unused singlebyte only 2018-06-25 00:20:55 +01:00
chase
6bf175ef2d Remove apollo support 2018-06-24 16:22:37 -06:00
chase
01c9b8889b Remove macII support 2018-06-24 16:05:18 -06:00
chase
63269240eb linux.cf: Remove permissive flag 2018-06-24 15:56:24 -06:00
Jon Trulson
c2cabbfa8b Merge branch 'master' into cde-next 2018-06-24 15:46:55 -06:00
Jon Trulson
aaa9305653 linux/site.def: use an if !defined() gaurd for DtLocalesToBuild
Without this, you cannot use the command line to select the languages
to build, you would have to edit site.def directly.

With this fix, you can build a language on linux with something like:

make World IMAKE_DEFINES='-DDtLocalesToBuild="de_DE.ISO8859-1 es_ES.ISO8859-1"'

to build the DE (German) and es (Spanish) locales.
2018-06-24 12:48:14 -06:00
Peter Howkins
5aa1fed48b dthelp: Convert all K&R function definitions to ANSI (C90) standard 2018-06-24 00:50:56 +01:00
Peter Howkins
f89139dd84 dthelp: Remove spectaculaly obsolete MSDOS support 2018-06-23 01:38:03 +01:00
Peter Howkins
757249c65b dthelp: Remove always on macro M_NOPAR which was just there to support ancient compilers that don't have 'void' 2018-06-23 00:48:36 +01:00
Peter Howkins
725b02e6bf dthelp: Remove define M_PROTO that was always turned on (for all platforms) that enabled ANSI not K&R function prototypes 2018-06-22 20:40:47 +01:00
Peter Howkins
de7e0dfcdd dtwm: Remove define MWM_QATS_PROTOCOL that has to be always off for dtwm, obsolete, unavailable mwm test suite support 2018-06-21 03:04:32 +01:00
Jon Trulson
8c1ad2d3a8 libtt: if local hostname lookup fails, default to localhost
A recurring problem, mainly on the BSD's, and also on some Linux
installations, is a failure for ttsession to start and any clients
trying to attach to it failing due to having a hostname that is not
associated with an IP address.

This is due to code which looks up the hostname, and if it does not
have a valid host record, then TT just fails.

This has required those users to add an alias for their host name in
their /etc/hosts file.

With this commit, this should no longer be necessary.  Now, if
_XGethostbyname() fails when looking up the local name, a default of
"localhost" is used, which should always exist.

This was run tested on Linux and FreeBSD 11.1.  It was compile tested
on OpenBSD 6.2.
2018-06-20 16:59:34 -06:00
Matthew R. Trower
b2540645a3 Minor corrections and cleanup to sun.cf 2018-06-20 12:15:00 -06:00
Matthew R. Trower
408f8256cd Resolve inconsistent strcasestr availability on Sun 2018-06-20 12:14:53 -06:00
Peter Howkins
d5273f121b dtwm: Remove define MOTIF_ONE_DOT_ONE, backwards compatibility for motif 1.1, CDE as a whole requires 2.1 2018-06-20 01:11:17 +01:00
Peter Howkins
9a551dd8a6 dtwm: Remove WSM define, that is always on for CDE 2018-06-20 00:46:58 +01:00
Peter Howkins
5dc05eaeb4 dtwm: remove define MINIMAL_DT which is always on for CDE 2018-06-19 20:50:50 +01:00
Peter Howkins
7bece30a57 dtwm: Remove id strings related to historic version control system used before CDE was opened. 2018-06-19 20:25:58 +01:00
Peter Howkins
daba6ea7e7 dtwm: Remove the define PANELIST, it is always on for dtwm 2018-06-19 19:57:29 +01:00
Matthew R. Trower
db6de6284f Add SMF service on Sun 2018-06-18 12:18:17 -06:00
Matthew R. Trower
ad1f104bbd imake: Refactor and fix get_sun_compiler_versions()
* Improve maintainability
* Improve robustness
* Correct gcc version detection
* Correct gcc include path detection
2018-06-15 16:20:09 -06:00
Jon Trulson
f840359778 OpenBSD: tone down compiler warnings a bit
So many of these are just noise.  Someday maybe we can eliminate
these, but for now they just obscure real problems.
2018-06-15 14:59:04 -06:00
Jon Trulson
c63acbc91a CDE-ICONS: create compatibility symlinks as relative rather than absolute
Some icons are actually symlinks to other icons, presumably for
compatibility with older systems.  These were absolute symlinks.  This
commit makes them relative symlinks instead.
2018-06-15 13:58:54 -06:00
Matthew R. Trower
6715300820 nsgml: Resolve symbol collision when building with SunStudio 12.1 2018-06-15 11:21:41 -06:00
Jon Trulson
55b4e2f240 FreeBSD: turn off some warnings
Someday these can be addressed, but for now they are just noise.
2018-06-14 19:08:49 -06:00
Jon Trulson
ac883b6972 FreeBSD 11: Fix clang (v6) builds
While CDE builds fine with gcc6 on FreeBSD 11, the default clang build
was broken in a few places.  This commit allows CDE to build now using
the default clang 6 system compiler.
2018-06-14 18:32:35 -06:00
Jon Trulson
825a504a11 XPM: Replace calls to XmeXpm*() with regular Xpm*()
This is no longer needed on modern Motif's.
2018-06-14 16:50:57 -06:00
Jon Trulson
59b83865ef OpenBSD 6+: use installed X11 and Motif
This commit removes the need to setup X11 and motif import symlinks
before building CDE.  With OpenBSD v6+, the installed versions of X11 and
Motif will be used.

This may work with earlier versions of OpenBSD as well, but I don't
have access to those older versions.  If you try it, and it works,
send a patch to the CDE mailing list.

This was tested on OpenBSD 6.2
2018-06-14 14:20:02 -06:00
Jon Trulson
f598ed2358 building_release_archive: omit '-src' in archive filename 2018-06-14 13:08:20 -06:00
Jon Trulson
396eff69f7 FreeBSD 11: Don't use imported x11/motif, use installed versions for build
With this patch, the import symlinks for x11 and motif do not need to
be created.  The build will use the installed headers in
/usr/local/include/{X11, Xm}.

This will work for FreeBSD 11 only ATM as I don't have older systems
to test with.

It may work for FreeBSD 10 or earlier versions as well.  If so, edit
config/cf/FreeBSD.cf and change the OSMajorVersion check for
UseInstalledX11 appropriately.  And send a patch to the CDE mailing
list :)
2018-06-13 19:26:55 -06:00
Jon Trulson
0554f2335f dtinfo/freebsd: fix a (int)NULL cast in DtSR_SearchEngine.C
This caused a compilation failure using gcc6 on FBSD 11.1-STABLE.
2018-06-13 17:57:46 -06:00
Jon Trulson
c1bef9e8d6 libDtTerm: Fix for a coredump seen on OpenBSD 2018-06-13 13:27:46 -06:00
chase
a35a7685b4 docnook.tcl: Add shebang 2018-06-12 17:11:22 -06:00
Ulrich Wilkens
9cfc0c2b40 create .depend files for Solaris+Illumos 2018-06-11 18:08:16 -06:00
chase
a14e0991ce installCDE.src: remove duplicate code 2018-06-10 16:33:47 -06:00
chase
4172308892 Remove reallyoldsun defines 2018-06-09 18:32:42 -06:00
Jon Trulson
0ec25848e9 cde: change version to 2.2.4a, for a development release 2018-06-08 13:03:39 -06:00
Matthew R. Trower
650ce0768f Fix imake segfault on OpenIndiana
Version string changed in distributed GCC6, confusing
get_sun_compiler_versions().
2018-06-04 18:44:35 -06:00
Jon Trulson
fd9e74ae42 installCDE: Only install locales that were built
We pass the DtLocalesToBuild to installCDE.src, which can then check
to see what locales were built.  We then only install packages for
those locales.
2018-06-01 21:20:18 -06:00
Jon Trulson
ad10797184 site.def: Only build C/en_US locales by default for Linux 2018-06-01 19:47:19 -06:00
Jon Trulson
c26dfea26d linux.cf: disable stripping of installed binaries
The build system should not generally strip binaries - that's up to
the packaging systems (for creating 'release' vs. 'debug' packages for
example).
2018-06-01 15:40:50 -06:00
Jon Trulson
c7a8cfe18c installCDE: unset FIGNORE to workaround potential ksh bug 2018-06-01 11:32:39 -06:00
Jon Trulson
d2cb2b3659 configTT: remove inetd support 2018-05-31 22:23:19 -06:00
Jon Trulson
9a6bd5d35c configMin: remove inetd support, 'pam' support
I'm not sure what the pam stuff wanted to do, but it was disabled
anyway and we do not need it.  Someday, we will want to integrate with
PAM properly, but this wasn't it.
2018-05-31 22:23:19 -06:00
Jon Trulson
2413f0d33f configRun: remove inetd support
I don't believe anyone uses inetd anymore.  If you do, you are on your
own.
2018-05-31 22:23:19 -06:00
Jon Trulson
ff4a9e6a60 configRun: leave dtmail alone, UDB handles it's perms correctly 2018-05-31 22:23:19 -06:00
chase
4bcb47a238 cde.desktop: add xpm icon 2018-05-31 22:23:19 -06:00
chase
a447f12493 fix files not registering as scripts 2018-05-31 22:23:19 -06:00
Jon Trulson
20cad57cd4 dtsession: fix screen saver/locking on linux
The POSIX __linux__ commit broke the special detection on linux used
to determine whether a secure system was in use or not.

This commit reworks the logic a little bit to avoid special casing
linux in main().

It also reworks the logic in CanReAuthenticate() to fix up some issues
"fixed" to correct converity warnings.  The logic in this case was
mostly ok, but still didn't account for the proper usage of this
function.  Error detection improved somewhat as a result.
2018-05-31 22:23:19 -06:00
chase
ad219d40c3 cde.desktop:Add keywords to desktop entry 2018-05-31 22:23:19 -06:00
Jon Trulson
76b72bc6ec dtcm: NULL is not 0 2018-05-31 22:23:19 -06:00
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
chase
809c3d8bb6 Spelling fixes 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
Ulrich Wilkens
297b6bd845 Fix warnings on FreeBSD 2018-05-31 22:04:08 -06:00
Ulrich Wilkens
885b65a09a Fixes for OpenBSD 2018-05-31 21:48:07 -06:00
Ulrich Wilkens
07f272122d Fix Linux rpc problems with new glibc 2018-05-31 18:00:22 -06:00
Ulrich Wilkens
16fbb15ecc Fix BSD and Sun problems after coverity fixes 2018-05-31 17:46:03 -06:00
chase
15fb8cea03 dinstallCDE.src: add linux and *BSD support 2018-05-25 12:59:36 -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
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
Jon Trulson
3c1736f077 CDE-DEMOS: remove references to Makefile.novell 2018-05-20 13:00:06 -06:00
chase
0fa51f280f Use /var/spool instead of /usr/spool and /var/mail instead of /usr/mail 2018-05-20 12:30:32 -06:00
chase
07900bd93b Remove Unixware and openserver support 2018-05-20 12:13:07 -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
chase
8a4f389634 Remove UXPDS support 2018-05-15 20:27:22 -06:00
chase
0f8233dadd sgml-mode.el: fix address, dt-toolbox: delete 2018-05-13 13:13:49 -06:00
chase
4a0c5ed3a8 cde.desktop: remove deprecated encoding key 2018-05-13 13:13:44 -06:00
chase
158fc36af4 Remove examples/motif 2018-05-13 13:12:47 -06:00
chase
8eb01941d3 Add generated binaries to gitignore from programs/localized/ 2018-05-13 13:00:55 -06:00
chase
1a50e1e5a9 Remove bsdi support 2018-05-13 13:00:49 -06:00
chase
3ccf3a8b86 Add missing license headers on *.hh files and others 2018-05-12 15:49:13 -06:00
Peter Howkins
fa29d3776e dtwm: Resolve coverity warnings related to uninitialised variables and missing return statements 2018-05-01 20:45:55 +01:00
Peter Howkins
ad373101d6 dtappbuilder: Coverity fixes mostly related to uninitialised variables 2018-05-01 19:02:14 +01:00
Peter Howkins
48b97a4c41 dthelp: Further coverity fixes 2018-04-30 04:11:44 +01: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
Peter Howkins
cd5d240213 dticon: Fix broken string length calculation 2018-04-30 01:51:15 +01:00
Peter Howkins
ac168d8918 dtimsstart: Fix brackets on previous coverity fix 2018-04-30 01:47:53 +01:00
Peter Howkins
f2c6a48d72 dtsession: A few extra snprintf's for buffer safety 2018-04-29 02:11:23 +01:00
Peter Howkins
e14e74231c dtlogin: Resolve some coverity issues, including those thought previously fixed 2018-04-28 23:47:05 +01:00
Peter Howkins
399c1e08c3 dtfile: batch coverity fixes 2018-04-28 23:12:04 +01:00
Peter Howkins
17a80f4933 dtimsstart: Fix derp in previoua fix set 2018-04-28 23:09:45 +01:00
Peter Howkins
62ee95bce2 dtimsstart: Coverity fixes 2018-04-28 21:44:27 +01:00
Peter Howkins
55c120b287 dtimsstart: Resolve all compiler warnings 2018-04-28 21:17:28 +01:00
Peter Howkins
e524a14c9c Merge branch 'cde-fixups-1' of ssh://git.code.sf.net/p/cdesktopenv/code into cde-fixups-1 2018-04-28 20:34:39 +01:00
Peter Howkins
3193f13070 dticon: coverity fixes 2018-04-28 20:33:44 +01: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
Peter Howkins
a135a89876 dtappbuilder: Further coverity, resource leaks, copy intofixed size buffer and dereference before null checl 2018-04-28 02:51:10 +01:00
chase
0aa8780fa1 Small spelling fixes 2018-04-25 19:40:19 -06:00
chase
00fc1c54c1 Rewrite csh scripts in sh, use sh instead of csh in scripts 2018-04-25 19:35:49 -06:00
Peter Howkins
73dafa91e7 dtappbuilder: Fix for very wrong sized buffer 2018-04-26 01:50:33 +01:00
Peter Howkins
bb9eef427f dtappbuilder: Coverity fixes for mising return value and copy into fixed size buffer 2018-04-26 01:36:02 +01:00
Peter Howkins
4007d3a460 dtappbuilder: Resolve all compiler warnings 2018-04-24 21:55:56 +01:00
Peter Howkins
ee4c38da0a dtlogin: Two additional coverity fixes 2018-04-24 03:57:35 +01:00
Peter Howkins
3b2d34b5a4 dtinfo: Extra fixes for previous believed fixed things (coverity) 2018-04-24 03:25:54 +01:00
Peter Howkins
a1fb026d86 dtsr: Coverity fixes for string buffer issues 2018-04-24 03:03:06 +01:00
Peter Howkins
3cf92f3741 dtmail: Further Coverity fixes 2018-04-24 02:38:56 +01:00
Peter Howkins
9088d6b54e libtt: Fixes for Coverity fixes that I thought I'd already fixed. 2018-04-24 00:05:56 +01:00
Peter Howkins
d52e9390ec dtpdm: Coverity 87632, 87664, 87923 2018-04-23 03:43:48 +01:00
Peter Howkins
68de09848b Merge branch 'cde-fixups-1' of ssh://git.code.sf.net/p/cdesktopenv/code into cde-fixups-1 2018-04-23 02:21:30 +01:00
Peter Howkins
2f634848ce dtinfo: Fix coverity warning related to using delete not delete [] 2018-04-23 02:20:23 +01:00
chase
07722f5c13 More spelling fixes 2018-04-22 12:15:08 -06:00
chase
1817f335c6 Fix various spelling errors 2018-04-22 12:14:43 -06:00
Peter Howkins
22071fd62a libtt: Further coverity fixes 2018-04-20 22:57:47 +01:00
Peter Howkins
f905d25392 dtmail: resolve coverity warnings related to uninitialised members in C++ classes 2018-04-20 02:36:24 +01:00
Peter Howkins
3464e80165 nsgmls: resolve coverity warnings related to uninitialed members in C++ classes 2018-04-20 01:00:01 +01:00
Peter Howkins
6e7e9d91e1 dtinfo: Resolve coverity warnings related to uninitialised members of classes 2018-04-19 23:25:47 +01:00
Peter Howkins
02d43dabe6 libtt: Coverity fixes related to uninitialised fields in classes. 2018-04-18 01:28:03 +01:00
Peter Howkins
caef8edac0 various: You cannot use the destination of snprintf as one of the srcs, undefined 2018-04-14 01:23:48 +01:00
Peter Howkins
b410e644c0 dtwm: Fix window menus caused by using destination as param to snprintf 2018-04-14 00:32:03 +01:00
Peter Howkins
9b4b82c1f0 dthelp: coverity fixes 2018-04-13 20:26:23 +01:00
Peter Howkins
fee6003be1 libtt: More coverity fixes 2018-04-13 19:08:50 +01: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
Peter Howkins
13d3e1db50 dtlogin: coverity fixes 2018-04-13 00:54:04 +01:00
Peter Howkins
4e9dc6c50b dtterm: coverity fixes 2018-04-12 21:29:49 +01: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
Peter Howkins
691dffb076 lidtsvc: coverity fixes 2018-04-12 01:38:02 +01:00
Peter Howkins
91bb9a037a libtt: resolve coverity issues related to double close() 2018-04-12 00:04:13 +01:00
Peter Howkins
680f79aac3 ttsnoop: resolve some compiler warnings 2018-04-11 23:37:34 +01: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
Peter Howkins
30ad8e35e5 libtt: Resolve coverity warnings 2018-04-11 19:31:03 +01:00
Peter Howkins
db88cb0d13 dtpad: resove coverity issues 2018-04-11 18:05:06 +01: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
Peter Howkins
10468068ac dthelp: more coverity fixes 2018-04-11 02:07:55 +01: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
Peter Howkins
494fd64314 dtinfo/dtinfogen: Fix segfault introduced by over zealously fixing coverity resource leak 2018-04-05 18:16:10 +01:00
Peter Howkins
bc28c20524 dtinfo: fix coverity issues related to null checks after dereference 2018-04-04 22:42:06 +01:00
Peter Howkins
2b15c4057e dtinfo: Fix coverity issues for resource leaks 2018-04-04 22:07:10 +01:00
Peter Howkins
9ef3b9ec68 dtspcd: Cov 89547, 175089 2018-04-04 20:37:13 +01:00
Peter Howkins
c12c130ece config/util: resolve coverity issues 2018-04-04 20:16:24 +01:00
Peter Howkins
ccab0597ed libdtterm: Resolve coverity issues 2018-04-04 19:48:23 +01:00
Peter Howkins
2d91ff7a6f dsdm: cov 86572, free mem in error condition 2018-04-04 16:50:19 +01:00
Peter Howkins
d87f6ce29d Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code 2018-04-04 16:37:12 +01:00
Peter Howkins
4fc13a6e27 dtwm: cov 175166, check for pointer 2018-04-04 16:33:45 +01: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