oweals/cde.git
9 years agodtfile: Resolve CID 88199
Peter Howkins [Thu, 15 Jan 2015 15:23:24 +0000 (15:23 +0000)]
dtfile: Resolve CID 88199

9 years agodtfile: Resolve CID 88133, 88261
Peter Howkins [Thu, 15 Jan 2015 15:18:21 +0000 (15:18 +0000)]
dtfile: Resolve CID 88133, 88261

9 years agodtfile: Resolve CID 87776. OkCallback is of type XtCallbackProc, it doesn't return one
Peter Howkins [Thu, 15 Jan 2015 15:15:31 +0000 (15:15 +0000)]
dtfile: Resolve CID 87776. OkCallback is of type XtCallbackProc, it doesn't return one

9 years agodtfile: Resolve CID 87308
Peter Howkins [Thu, 15 Jan 2015 15:05:45 +0000 (15:05 +0000)]
dtfile: Resolve CID 87308

9 years agodtcm: Resolve CID 88003
Peter Howkins [Thu, 15 Jan 2015 14:23:45 +0000 (14:23 +0000)]
dtcm: Resolve CID 88003

9 years agodtcm: Resolve CID 87983
Peter Howkins [Thu, 15 Jan 2015 14:21:34 +0000 (14:21 +0000)]
dtcm: Resolve CID 87983

9 years agodtcm: Resolve CID 87822
Peter Howkins [Thu, 15 Jan 2015 14:20:02 +0000 (14:20 +0000)]
dtcm: Resolve CID 87822

9 years agodtcm: Resolve CID 87801
Peter Howkins [Thu, 15 Jan 2015 14:18:17 +0000 (14:18 +0000)]
dtcm: Resolve CID 87801

9 years agodtcm: Resolve CID 87713
Peter Howkins [Thu, 15 Jan 2015 14:16:06 +0000 (14:16 +0000)]
dtcm: Resolve CID 87713

9 years agodtcm: Resolve CID 87562
Peter Howkins [Thu, 15 Jan 2015 12:10:25 +0000 (12:10 +0000)]
dtcm: Resolve CID 87562

9 years agodtcm: Resolve CID 87408
Peter Howkins [Thu, 15 Jan 2015 11:59:20 +0000 (11:59 +0000)]
dtcm: Resolve CID 87408

9 years agodtcm: Resolve CID 87384
Peter Howkins [Thu, 15 Jan 2015 11:55:09 +0000 (11:55 +0000)]
dtcm: Resolve CID 87384

9 years agodtscreen: convert K&R prototypes to ansi C
Peter Howkins [Wed, 14 Jan 2015 15:06:33 +0000 (15:06 +0000)]
dtscreen: convert K&R prototypes to ansi C

9 years agolibDtSvc: Resolve 28 compiler warnings.
Peter Howkins [Wed, 14 Jan 2015 14:10:55 +0000 (14:10 +0000)]
libDtSvc: Resolve 28 compiler warnings.

9 years agolibDtPrint: Resolve the 1 remaining compiler warning.
Peter Howkins [Wed, 14 Jan 2015 11:43:58 +0000 (11:43 +0000)]
libDtPrint: Resolve the 1 remaining compiler warning.

9 years agolibDtHelp: Resolve 11 compiler warnings.
Peter Howkins [Wed, 14 Jan 2015 11:41:38 +0000 (11:41 +0000)]
libDtHelp: Resolve 11 compiler warnings.

9 years agodthello: Resolve 8 compiler warnings that would be introduced with -Wall
Peter Howkins [Wed, 14 Jan 2015 10:42:44 +0000 (10:42 +0000)]
dthello: Resolve 8 compiler warnings that would be introduced with -Wall

9 years agodtpad: Resolve 7 compiler warnings.
Peter Howkins [Tue, 13 Jan 2015 14:50:05 +0000 (14:50 +0000)]
dtpad: Resolve 7 compiler warnings.

9 years agodtcm: Resolve 303 compiler warnings.
Peter Howkins [Tue, 13 Jan 2015 14:22:25 +0000 (14:22 +0000)]
dtcm: Resolve 303 compiler warnings.

9 years agodtstyle: Fix CID 100252
Peter Howkins [Tue, 13 Jan 2015 10:13:03 +0000 (10:13 +0000)]
dtstyle: Fix CID 100252

9 years agodtmail: add a stdint.h include for openbsd, as reported by Daniel Diaz via the wiki.
Peter Howkins [Fri, 9 Jan 2015 16:30:43 +0000 (16:30 +0000)]
dtmail: add a stdint.h include for openbsd, as reported by Daniel Diaz via the wiki.

9 years agodtfile: resolve 19 compiler warnings.
Peter Howkins [Fri, 9 Jan 2015 16:16:53 +0000 (16:16 +0000)]
dtfile: resolve 19 compiler warnings.

9 years agodticon: resolve 3 compiler warnings
Peter Howkins [Wed, 7 Jan 2015 14:19:38 +0000 (14:19 +0000)]
dticon: resolve 3 compiler warnings

9 years agodtdocbook: resolve 49 compiler warnings.
Peter Howkins [Tue, 6 Jan 2015 17:22:50 +0000 (17:22 +0000)]
dtdocbook: resolve 49 compiler warnings.

9 years agodtmail: Resolve 50 compiler warnings.
Peter Howkins [Tue, 6 Jan 2015 15:07:55 +0000 (15:07 +0000)]
dtmail: Resolve 50 compiler warnings.

9 years agodtsr: resolve all 12 compiler warnings.
Peter Howkins [Mon, 5 Jan 2015 16:54:12 +0000 (16:54 +0000)]
dtsr: resolve all 12 compiler warnings.

9 years agodtstyle: resolve 30 compiler warnings.
Peter Howkins [Mon, 5 Jan 2015 16:07:49 +0000 (16:07 +0000)]
dtstyle: resolve 30 compiler warnings.

9 years agolibtt: Change to standard function prototypes in ttauth. Fix some compiler warnings...
Matthew Howkins [Tue, 30 Dec 2014 17:27:20 +0000 (17:27 +0000)]
libtt: Change to standard function prototypes in ttauth. Fix some compiler warnings by adding #includes

9 years agolibtt: Fix some uninitialized variables detected by Coverity
Matthew Howkins [Tue, 30 Dec 2014 17:24:31 +0000 (17:24 +0000)]
libtt: Fix some uninitialized variables detected by Coverity

9 years agodtwm: resolve 92 compiler warnings (related to 64 bit pointer to int coversions)
Peter Howkins [Tue, 30 Dec 2014 17:13:41 +0000 (17:13 +0000)]
dtwm: resolve 92 compiler warnings (related to 64 bit pointer to int coversions)

9 years agodtaction: resolve 2 compiler warnings.
Peter Howkins [Tue, 30 Dec 2014 16:12:54 +0000 (16:12 +0000)]
dtaction: resolve 2 compiler warnings.

9 years agodsdm: convert k&r function declarations to ansi, and correct the warnings this then...
Peter Howkins [Tue, 30 Dec 2014 15:57:12 +0000 (15:57 +0000)]
dsdm: convert k&r function declarations to ansi, and correct the warnings this then uncovered.

9 years agodsdm: resolve coverity warnings CID 86139 86255 86331 86345 86418 86517 86526 86567...
Peter Howkins [Tue, 30 Dec 2014 15:13:47 +0000 (15:13 +0000)]
dsdm: resolve coverity warnings CID 86139 86255 86331 86345 86418 86517 86526 86567 86590 86616

9 years agodtcalc: resolve 13 compiler warnings on 64 bit builds.
Peter Howkins [Tue, 30 Dec 2014 14:43:12 +0000 (14:43 +0000)]
dtcalc: resolve 13 compiler warnings on 64 bit builds.

9 years agodtcopy: Fix file removal
alx [Thu, 25 Dec 2014 21:06:11 +0000 (22:06 +0100)]
dtcopy: Fix file removal

9 years agoMerge branch 'coverity_dtsession'
Jon Trulson [Sun, 28 Dec 2014 03:25:26 +0000 (20:25 -0700)]
Merge branch 'coverity_dtsession'

Fix up a bunch (55) issues in dtsession identified by Coverity's
static analysis.

9 years agodtsession/SrvPalette: fix CID 89227
Jon Trulson [Sun, 28 Dec 2014 03:09:09 +0000 (20:09 -0700)]
dtsession/SrvPalette: fix CID 89227

9 years agodtsession/SrvFile_io: fix CID's 88299 and 89441
Jon Trulson [Sun, 28 Dec 2014 03:06:53 +0000 (20:06 -0700)]
dtsession/SrvFile_io: fix CID's 88299 and 89441

9 years agodtsession/SmUI: fix tainted var (CID 88216)
Jon Trulson [Sun, 28 Dec 2014 02:52:37 +0000 (19:52 -0700)]
dtsession/SmUI: fix tainted var (CID 88216)

9 years agodtsession/SmSave: use absolute path to rm in system()
Jon Trulson [Sun, 28 Dec 2014 02:42:21 +0000 (19:42 -0700)]
dtsession/SmSave: use absolute path to rm in system()

9 years agodtsession/SmSave: get rid of use of tempnam (CID 89359)
Jon Trulson [Sun, 28 Dec 2014 02:33:03 +0000 (19:33 -0700)]
dtsession/SmSave: get rid of use of tempnam (CID 89359)

9 years agodtsession/SmRestore: redo defaultCwd detection in StartClient() to be safer
Jon Trulson [Sun, 28 Dec 2014 02:01:30 +0000 (19:01 -0700)]
dtsession/SmRestore: redo defaultCwd detection in StartClient() to be safer

9 years agodtsession/SmRestore: fixup 8 coverity issues.
Jon Trulson [Sun, 28 Dec 2014 01:19:55 +0000 (18:19 -0700)]
dtsession/SmRestore: fixup 8 coverity issues.

9 years agodtsession/SmGlobals: re-add smGD.savePath to generated paths, was lost in mkstemp...
Jon Trulson [Sun, 28 Dec 2014 00:50:28 +0000 (17:50 -0700)]
dtsession/SmGlobals: re-add smGD.savePath to generated paths, was lost in mkstemp changes.

9 years agodtsession/SmGlobals: unlink mkstemp generated files.
Jon Trulson [Sun, 28 Dec 2014 00:24:04 +0000 (17:24 -0700)]
dtsession/SmGlobals: unlink mkstemp generated files.

9 years agoMerge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code
Peter Howkins [Sat, 27 Dec 2014 23:15:02 +0000 (23:15 +0000)]
Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code

9 years agodtlogin: resolve more static analysis warnings
Peter Howkins [Sat, 27 Dec 2014 23:13:59 +0000 (23:13 +0000)]
dtlogin: resolve more static analysis warnings

9 years agodtsession/SmGlobals: use of tainted string (CID 89450)
Jon Trulson [Sat, 27 Dec 2014 23:12:45 +0000 (16:12 -0700)]
dtsession/SmGlobals: use of tainted string (CID 89450)

9 years agodtsession/SmLock: potential null deref (CID 87561, 87957, 88181)
Jon Trulson [Sat, 27 Dec 2014 23:06:23 +0000 (16:06 -0700)]
dtsession/SmLock: potential null deref (CID 87561, 87957, 88181)

9 years agodtsession/SmDB: error handling issues (CID 87778, 87926)
Jon Trulson [Sat, 27 Dec 2014 22:54:55 +0000 (15:54 -0700)]
dtsession/SmDB: error handling issues (CID 87778, 87926)

9 years agodtsession/SmCommun: fix bogus check (CID 89326)
Jon Trulson [Sat, 27 Dec 2014 22:50:29 +0000 (15:50 -0700)]
dtsession/SmCommun: fix bogus check (CID 89326)

9 years agodtsession/SmGlobals: fixup 17 coverity issues.
Jon Trulson [Sat, 27 Dec 2014 22:42:04 +0000 (15:42 -0700)]
dtsession/SmGlobals: fixup 17 coverity issues.

9 years agoMerge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code
Jon Trulson [Sat, 27 Dec 2014 21:25:52 +0000 (14:25 -0700)]
Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code

9 years agoDtXinerama: no need to check unsigned int < 0 (CID:86121)
Jon Trulson [Sat, 27 Dec 2014 21:12:29 +0000 (14:12 -0700)]
DtXinerama: no need to check unsigned int < 0 (CID:86121)

9 years agodtlogin: resolve 8 compiler warnings.
Peter Howkins [Sat, 27 Dec 2014 20:56:29 +0000 (20:56 +0000)]
dtlogin: resolve 8 compiler warnings.

9 years agodtlogin/xdmcp: fixup many warnings and a possible declaration bug
Jon Trulson [Sat, 27 Dec 2014 20:01:26 +0000 (13:01 -0700)]
dtlogin/xdmcp: fixup many warnings and a possible declaration bug

9 years agodtwm/WmFP: Coverity (memory corruption, moderate)
Jon Trulson [Sat, 27 Dec 2014 01:10:07 +0000 (18:10 -0700)]
dtwm/WmFP: Coverity (memory corruption, moderate)

9 years agodtwm/PopUpMenu: Coverity (memory corruption, moderate)
Jon Trulson [Sat, 27 Dec 2014 00:30:50 +0000 (17:30 -0700)]
dtwm/PopUpMenu: Coverity (memory corruption, moderate)

9 years agodtsession: Coverity (memory corruption, moderate)
Jon Trulson [Sat, 27 Dec 2014 00:23:16 +0000 (17:23 -0700)]
dtsession: Coverity (memory corruption, moderate)

9 years agodtscreen: Coverity (memory corruption, moderate)
Jon Trulson [Sat, 27 Dec 2014 00:17:58 +0000 (17:17 -0700)]
dtscreen: Coverity (memory corruption, moderate)

9 years agodtprintinfo: Coverity (memory corruption, moderate)
Jon Trulson [Sat, 27 Dec 2014 00:17:06 +0000 (17:17 -0700)]
dtprintinfo: Coverity (memory corruption, moderate)

9 years agodtlogin: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 23:55:46 +0000 (16:55 -0700)]
dtlogin: Coverity (memory corruption, moderate)

9 years agodtlogin: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 23:23:54 +0000 (16:23 -0700)]
dtlogin: Coverity (memory corruption, moderate)

9 years agodtcalc: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 23:19:23 +0000 (16:19 -0700)]
dtcalc: Coverity (memory corruption, moderate)

9 years agodtcalc: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 23:17:43 +0000 (16:17 -0700)]
dtcalc: Coverity (memory corruption, moderate)

9 years agott/mini_isam: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 23:15:53 +0000 (16:15 -0700)]
tt/mini_isam: Coverity (memory corruption, moderate)

9 years agott/mini_isam: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 23:15:25 +0000 (16:15 -0700)]
tt/mini_isam: Coverity (memory corruption, moderate)

9 years agottsession: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 23:14:35 +0000 (16:14 -0700)]
ttsession: Coverity (memory corruption, moderate)

9 years agottauth: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 23:13:07 +0000 (16:13 -0700)]
ttauth: Coverity (memory corruption, moderate)

9 years agocsa: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 23:00:55 +0000 (16:00 -0700)]
csa: Coverity (memory corruption, moderate)

9 years agoDtTerm: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 22:59:52 +0000 (15:59 -0700)]
DtTerm: Coverity (memory corruption, moderate)

9 years agoDtTerm: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 22:58:50 +0000 (15:58 -0700)]
DtTerm: Coverity (memory corruption, moderate)

9 years agoDtSvc/DtUtil2: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 22:57:47 +0000 (15:57 -0700)]
DtSvc/DtUtil2: Coverity (memory corruption, moderate)

9 years agoDtSvc/DtUtil1: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 22:56:10 +0000 (15:56 -0700)]
DtSvc/DtUtil1: Coverity (memory corruption, moderate)

9 years agoDtSvc/DtEncap: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 22:55:02 +0000 (15:55 -0700)]
DtSvc/DtEncap: Coverity (memory corruption, moderate)

9 years agoDtSvc: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 22:54:08 +0000 (15:54 -0700)]
DtSvc: Coverity (memory corruption, moderate)

9 years agoDtSearch: remove bogus debug block
Jon Trulson [Fri, 26 Dec 2014 22:52:33 +0000 (15:52 -0700)]
DtSearch: remove bogus debug block

9 years agoDtHelp: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 22:50:41 +0000 (15:50 -0700)]
DtHelp: Coverity (memory corruption, moderate)

9 years agoDtHelp: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 22:49:43 +0000 (15:49 -0700)]
DtHelp: Coverity (memory corruption, moderate)

9 years agoimake: Coverity (memory corruption, moderate)
Jon Trulson [Fri, 26 Dec 2014 22:47:59 +0000 (15:47 -0700)]
imake: Coverity (memory corruption, moderate)

9 years agodtsession: Coverity (memory corruption)
Jon Trulson [Fri, 26 Dec 2014 21:24:31 +0000 (14:24 -0700)]
dtsession: Coverity (memory corruption)

9 years agodtsession: Coverity (memory corruption)
Jon Trulson [Fri, 26 Dec 2014 21:22:05 +0000 (14:22 -0700)]
dtsession: Coverity (memory corruption)

9 years agodtappbuilder: Coverity (memory corruption)
Jon Trulson [Fri, 26 Dec 2014 21:14:32 +0000 (14:14 -0700)]
dtappbuilder: Coverity (memory corruption)

9 years agottauth: Coverity (memory corruption)
Jon Trulson [Fri, 26 Dec 2014 21:12:10 +0000 (14:12 -0700)]
ttauth: Coverity (memory corruption)

9 years agoDtWidget: Coverity (memory corruption)
Jon Trulson [Fri, 26 Dec 2014 21:10:01 +0000 (14:10 -0700)]
DtWidget: Coverity (memory corruption)

9 years agoDtTerm: Coverity (memory corruption)
Jon Trulson [Fri, 26 Dec 2014 21:08:24 +0000 (14:08 -0700)]
DtTerm: Coverity (memory corruption)

9 years agoDtSvc: Coverity (memory corruption)
Jon Trulson [Fri, 26 Dec 2014 21:06:26 +0000 (14:06 -0700)]
DtSvc: Coverity (memory corruption)

9 years agoDtSvc: Coverity (memory corruption)
Jon Trulson [Fri, 26 Dec 2014 21:03:17 +0000 (14:03 -0700)]
DtSvc: Coverity (memory corruption)

9 years agoDtHelp: Coverity (memory corruption)
Jon Trulson [Fri, 26 Dec 2014 20:42:23 +0000 (13:42 -0700)]
DtHelp: Coverity (memory corruption)

9 years agolibtt: Fix 'Missing return statement' errors detected by static analysis
Matthew Howkins [Tue, 23 Dec 2014 21:13:17 +0000 (21:13 +0000)]
libtt: Fix 'Missing return statement' errors detected by static analysis

9 years agodtlogin: Resolve 27 compiler warnings
Peter Howkins [Tue, 23 Dec 2014 22:01:51 +0000 (22:01 +0000)]
dtlogin: Resolve 27 compiler warnings

9 years agolibDtWidget: Resolve some static analyser warnings
Peter Howkins [Tue, 23 Dec 2014 20:05:01 +0000 (20:05 +0000)]
libDtWidget: Resolve some static analyser warnings

prevent usage of potentially unitialised variables.

9 years agodtlogin: start to resolve static analysis warnings
Peter Howkins [Tue, 23 Dec 2014 17:49:11 +0000 (17:49 +0000)]
dtlogin: start to resolve static analysis warnings

Also convert some K&R function declarations to ansi

10 years agoFix FreeBSD 10.1 build
Ulrich Wilkens [Thu, 20 Nov 2014 01:11:47 +0000 (02:11 +0100)]
Fix FreeBSD 10.1 build

10 years agoit_IT.ISO8859-1/types/_common.dt.tmsg: Apply manual one-line patch
Jon Trulson [Tue, 28 Oct 2014 19:58:32 +0000 (13:58 -0600)]
it_IT.ISO8859-1/types/_common.dt.tmsg: Apply manual one-line patch

10 years agoOpenIndiana and Solaris port
Ulrich Wilkens [Tue, 28 Oct 2014 18:46:43 +0000 (19:46 +0100)]
OpenIndiana and Solaris port

10 years agoResolve many build warnings
Ulrich Wilkens [Tue, 23 Sep 2014 21:16:35 +0000 (23:16 +0200)]
Resolve many build warnings

This patch fixes many warnings from the beginning of the build up to
and including the depend stage. Nearly all warnings should be gone
even with -Wall.

10 years agodtappbuilder: abmf.c: more warnings killed
Jon Trulson [Sun, 21 Sep 2014 02:10:01 +0000 (20:10 -0600)]
dtappbuilder: abmf.c: more warnings killed

10 years agodttypes: use regex on linux too.
Jon Trulson [Sun, 21 Sep 2014 02:00:38 +0000 (20:00 -0600)]
dttypes: use regex on linux too.

10 years agodthelp: fixup some warnings with special.h(s)
Jon Trulson [Sun, 21 Sep 2014 01:10:19 +0000 (19:10 -0600)]
dthelp: fixup some warnings with special.h(s)