Commit Graph

617 Commits

Author SHA1 Message Date
Jon Trulson 2cac2a29ac dtwm/WmResource.c: remove errant ')' added in previous commit 2018-04-02 12:22:32 -06:00
Peter Howkins 8362f92ceb dtwm: Resolve coverity warnings 2018-04-02 18:08:40 +01: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 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 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 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 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 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
Peter Howkins edd928caf5 dtpdmd: Resolve some coverity warnings 2018-03-30 23:48:00 +01:00
Peter Howkins bcccf559ce dtcreate: Resolve coverity issues 2018-03-30 23:35:39 +01:00
Peter Howkins e195df4b50 dtudcfonted: Resolve further coverity issues 2018-03-30 22:09:47 +01:00
Peter Howkins e507de959e dtcalc: resolve coverity issues 2018-03-30 20:24:04 +01:00
Peter Howkins e12e009eb5 dthelp: compiler warning and coverity warning fixes 2018-03-29 00:21:44 +01:00
Peter Howkins f65f512981 dtcalc: resolve coverity issues 2018-03-28 02:24:27 +01:00
Peter Howkins 0b93afd2ca dtscpd: resolve compiler and coverity warnings 2018-03-28 02:08:36 +01:00
Peter Howkins 55c59be795 dtcudcfonted: Resolve compiler and coverity warnings 2018-03-28 01:29:28 +01:00
Peter Howkins 49d1ca38e4 dtdocbook: glibc 2.27 drops support for matherr() support in math.h 2018-03-27 03:55:32 +01:00
Peter Howkins a6b5ef552f dtcalc: change from obsoleted MAXFLOAT to FLT_MAX from std C 2018-03-27 03:25:58 +01:00
Peter Howkins d41d87be27 dtksh: Linux modern glibc compile HACK prevent system wide definition of __FILE that we define to Sfio_t 2018-03-27 01:51:58 +01:00
Peter Howkins 1acf08c5ef dtksh: make sure you can still build on linux older c library too 2018-03-23 04:17:17 +00:00
Peter Howkins 9d69ea3d97 dtksh: HACKY fix for compilation on later linux C library where FILE definition has moved 2018-03-23 01:51:39 +00:00
Peter Howkins b1c3729e88 Change dtmmdb class from tuple to mmdb_tuple 2018-03-21 01:03:31 +00:00
Peter Howkins abd209a83c Change how read and write errors are detected on fstream based streams. 2018-03-21 01:01:09 +00:00
Peter Howkins 490890cd23 Resolve some compiler warnings 2018-03-18 00:21:51 +00:00
Peter Howkins 555abfa53b Fixed for wrong cased filename on depends creation 2018-03-18 00:20:55 +00:00
Peter Howkins 637abd5d5c Resolve some coverity warnings 2018-03-08 23:03:21 +00:00
Michael McConville 35a16f47df Remove needless zeroing after calloc 2017-12-09 02:33:44 -07:00
Cody Kotichas 1d037477f1 Fix typographical error 2017-08-09 16:52:44 -06:00
Jon Trulson 129ef945b9 dtappbuilder: Add patches from Robert Pangrazio fixing coredumps 2017-08-05 18:49:07 -06:00
Peter Howkins e4ba1fad36 Change pid wait types to int on Linux as well. Fixes compile issue
in dtudc programs on ubuntu 16.10+
2017-04-11 20:40:43 +01:00
Edmond ORIGNAC 9b1f60a713 DtMail translations and improvements of vcal2xampia.awk
dtmail: messages of the 'Mail Retrieval' menu of dtmail  were left untranslated.
	French, Italian, Spanish translations were added.
vcal2xapia.awk: capacity to handle UTC+n timezones and TODO items added.
2017-01-03 13:23:23 -07:00
alx acb2dd330d dtksh/sfio: resolved a naming collision on FreeBSD 11 2016-12-31 15:15:04 -07:00
alx 2ea10ef612 dtlogin: center the mouse pointer on the login screen on multi-head setups 2016-12-31 15:14:54 -07:00
alx 39031e9dea dtfile: added Xinerama support to dialog positioning routines 2016-12-31 15:14:49 -07:00
Swift Griggs 1fdcd4c93d Patches from pkgsrc-WIP 2016-08-05 11:21:06 -06:00
Matthew R. Trower 341494d91c dtwm: basic multihead(xinerama only) support
* maximization (also partially fixes strange Firefox behaviour)
* sane initial window placement

Firefox is stranger than most; it appears to maximize to double
X Screen width even on single head displays.  Fixed (on multihead).
2016-06-24 17:16:19 -06:00
Ulrich Wilkens 45ab8a3532 dtlogin: FreeBSD build fix 2016-06-12 17:13:20 -06:00
Ulrich Wilkens 574cf20b31 Fix dtinfo document build on OpenBSD 2016-06-10 16:15:57 -06:00
Pascal de Bruijn 4aedbf2796 dtlogin: openbsd build fix
Amend ced27aa1f6 to prevent openbsd
make from failing because of the tab.
2016-06-09 10:05:35 -06:00
Giacomo Comes 542fce33d4 call fclose(infile) after print_progress()
The function print_progress uses the pointer infile.
If fclose is called before print_progress then the build process
can fail to build the files:
  doc/C/cde.dti/CDEDOC/dtsearch/CDEDOC.d99
  doc/C/cde.dti/CDEDOC/dtsearch/dtsearch.ocf
  doc/C/cde.dti/cde.oli
To fix the issue move the call fclose(infile) after print_progress()
2016-06-07 20:00:11 -06:00
Giacomo Comes a650c6214e Use /var/spool instead of /usr/spool on linux 2016-06-07 19:59:42 -06:00
Peter Howkins e1333a5160 dtstyle: remove some accidentally commited debug code 2016-04-21 01:48:40 +01:00
Peter Howkins 066adcac5e dtstyle: backdrops, allow jpg/png if motif supports it
add file extensions to all types but .pm/.bm. This lets XmGetPixmap() load them.
2016-04-21 01:43:27 +01:00
Peter Howkins 2ea057d511 Disable all code related to libXp
deprecated and mostly no longer included on current OSes
2016-04-20 20:17:22 +01:00
alx b251a15844 dtfile: Enable FILE_MAP_OPTIMIZE on Linux. This avoids unnecessary tt_file_netfile calls on local host. 2016-04-18 19:16:48 -06:00
alx 2e5bd045ed dtwm: Resolved some compiler warnings 2016-04-18 19:16:48 -06:00
alx 720fd9365a dtwm: 0 is not NULL 2016-04-18 19:16:48 -06:00
alx ed2c149bfc dtsession: Enable X11 screensaver extension on FreeBSD 2016-04-18 19:16:47 -06:00
alx 7cddb0d165 dtlogin: Enable XDM authentication on FreeBSD 2016-04-18 19:16:47 -06:00
alx ff7c7d72cf dtfile: Enable FILE_MAP_OPTIMIZE on FreeBSD. This avoids unnecessary tt_file_netfile calls on local host. 2016-04-18 19:16:47 -06:00
Jon Trulson 6bc5c658b8 dtappbuilder: replace accidental %a with %% in write_func_as_strings() 2015-12-18 10:28:37 -07:00
Pascal de Bruijn ced27aa1f6 dtlogin: don't use crypt(3) on openbsd
des support has been removed from crypt(3) on openbsd since version 5.8
2015-11-28 12:24: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
Ulrich Wilkens f8fdf4920f Fix FreeBSD 10.2 build 2015-10-21 19:23:05 -06:00
alx 307981f3e5 dtfile: fixed ambiguity in the translation table 2015-07-23 18:51:39 -06:00
alx 84f725bd54 dtfile: fixed file view scrolling with Page Up/Down keys 2015-07-23 18:51:34 -06:00
alx 5c6ddfd0c1 dtfile: 0 is not NULL 2015-07-16 19:21:18 -06:00
alx 304f99d26c dticon: KeySym is not char 2015-07-02 17:50:26 -06:00
alx bd4a4532f0 dtfile: fixed double free in copy/move collision handler 2015-07-02 17:50:21 -06:00
alx cbd5abb33a dtsession: fixed errorlog rotation 2015-07-02 17:50:16 -06:00
Douglas Carmichael aaab59761f Patches to enable compilation on OpenBSD 5.7/FreeBSD 10.1. 2015-06-17 11:31:31 -06:00
Isaac Dunham 87d863b8a4 programs/dtappintegrate: make PATH include /bin.
Without this, we fail without the /usr merge because 'date' is
unavailable.
2015-06-16 15:56:21 -06:00
Jon Trulson 6400908cc1 dtscreen: don't use old version of round() on linux either 2015-05-09 16:37:04 -06:00
Ulrich Wilkens 8b38d9ea49 Fix broken build on OpenBSD 2015-05-09 16:21:32 -06:00
Ulrich Wilkens 2b8b5f25b5 Support for new Solaris/OpenIndiana versions 2015-05-09 16:19:08 -06:00
Edmond ORIGNAC 51afe76f07 Fix dtprintinfo parser
When using a non C locale such as fr_FR.ISO8859-1, the CUPS messages
returned by lpq are translated. However, the parser in ParseJobs.C can only
handle messages in English. As a result, dtprintinfo exits immediately with
an error message. To fix that problem we force a LANG=C environment when calling
lpq so that messages will be in English and will be processed correctly by dtprintinfo
parser.
2015-03-21 20:14:16 -06:00
Peter Howkins 917343911e dtudcfonted: Resolve CID 86560 2015-01-21 14:15:31 +00:00
Peter Howkins 8c340c1984 dtudcfonted: Resolve CID 86547 2015-01-21 14:10:58 +00:00
Peter Howkins 8ba625d41d dtudcfonted: Resolve CID 86495 2015-01-21 14:09:39 +00:00
Peter Howkins 9e849c3f25 dtudecfonted: Resolve CID 86417 2015-01-21 14:04:04 +00:00
Peter Howkins 343a78b225 dtudcfonted: Resolve CID 86391 2015-01-21 14:02:34 +00:00
Peter Howkins 0669358b82 dtudcfonted: Resolve CID 86328 2015-01-21 14:00:44 +00:00
Peter Howkins 1e904a31d8 dtudcfonted: Resolve CID 86280 2015-01-21 13:56:00 +00:00
Johannes von Rotz f6e025b3af Let "make World" run through on OpenBSD 2015-01-21 13:47:20 +00:00
Peter Howkins 83af6d8431 dtudcfonted: Resolve CID 86389 2015-01-16 16:51:37 +00:00
Peter Howkins 15434b1787 dtudcfonted: Resolve CID 86232 2015-01-16 16:49:42 +00:00
Peter Howkins 1380cb7c8e dtudcfonted: Resolve CID 86153 2015-01-16 16:29:55 +00:00
Peter Howkins e987e48f9a dtprintinfo: Resolve CID 87253 2015-01-15 16:07:10 +00:00
Peter Howkins d3dbc00c1f dtfile: Resolve CID 89277 2015-01-15 15:37:32 +00:00
Peter Howkins 6a86dba654 dtfile: Resolve CID 88830 2015-01-15 15:30:59 +00:00