Peter Howkins
e1196cdfec
dtcalc: Resolve gcc 10 errors about multiple definitions of global variables
2020-11-24 02:19:05 +00:00
Jon Trulson
15a2032626
Convert uses of XKeycodeToKeysym (deprecated) to XkbKeycodeToKeysym
...
patch supplied from Peter G.
2020-03-23 12:51:18 -06:00
wmoxam
e1e2004696
Remove unused HP_EXTENSIONS code blocks
2019-10-14 15:54:25 -06:00
tu83
d5faa0360c
Fixed segfault for mode switching when compiled with clang
...
dtcalc compiled with clang segfaulted when switched
to a different mode like Deg to Rad or Financial to
Scientific. Was reproducable at least under FreeBSD/AMD64.
Fixed now.
2019-01-06 18:55:19 +01:00
Jon Trulson
b7599ec2a2
dtcalc: remove register keyword
2018-06-27 22:00:56 -06:00
chase
164e695cd0
remove OSF1 support
2018-05-24 14:25:26 -06:00
chase
1fe5a550b2
Fix typo in license headers
2018-04-28 12:30:20 -06:00
Jon Trulson
2363b97d60
dtcalc: remove MAX_PATH, use standard PATH_MAX
2018-04-01 18:33:00 -06:00
Peter Howkins
e507de959e
dtcalc: resolve coverity issues
2018-03-30 20:24:04 +01:00
Peter Howkins
f65f512981
dtcalc: resolve coverity issues
2018-03-28 02:24:27 +01:00
Ulrich Wilkens
8b38d9ea49
Fix broken build on OpenBSD
2015-05-09 16:21:32 -06:00
Peter Howkins
2fc7807ee5
dtcalc: resolve 13 compiler warnings on 64 bit builds.
2014-12-30 14:43:12 +00:00
Peter Howkins
ea96eb624d
dtcalc: Resolve 82 warnings causing by enabling -Wall
2012-11-20 14:49:40 +00:00
Peter Howkins
f4339cd58e
dtcalc: Convert functions from K&R to ansi declarations.
2012-11-16 17:03:10 +00:00
Peter Howkins
a0da2db479
dtcalc: Resolve 43 warnings that would be introduced with -Wunused-variable or -Wall
...
Basically 43 local variables declared in functions and then never used.
2012-11-05 16:44:29 +00:00
Peter Howkins
f737b30289
dtcalc: Fix some warnings related to mixing NULL, 0 and '\0' randomly.
2012-08-30 16:45:52 +01:00
Peter Howkins
20c107bce2
dtcalc: Resolve "format not a string literal and no format arguments [-Wformat-security]" warnings.
...
Fix warnings related to secruity concerns on varargs functions. By specifying
"%s" on single string calls to sprintf() (and related) it's not possible to
have a % in the input string causing random data to be read off the stack.
2012-08-22 11:28:36 +01:00
Peter Howkins
7d50721685
dtcalc: Resolve "missing sentinel in function call [-Wformat]" warnings
...
Caused by XtVaGetValues() and XtVaSetValues() variable arguments lists
needing to be terminated by NULL not 0.
2012-08-22 10:44:33 +01:00
Pascal Stumpf
3e4517dc2a
OpenBSD patches for dtcalc, dtdocbook, dthelp and dtimsstart.
2012-08-11 19:43:41 -06:00
Peter Howkins
c884521619
Add GNU LGPL headers to all .c .C and .h files
2012-03-10 18:58:32 +00:00
Peter Howkins
83b6996daa
Initial import of the CDE 2.1.30 sources from the Open Group.
2012-03-10 18:21:40 +00:00