hyousatsu
f0123efa84
Fix some warnings.
2024-07-21 00:43:27 +00:00
Chase
9a9d586e87
configure: detect libdl
2022-07-31 18:33:49 -06:00
Chase
edf4319548
Discontinue HPUX support
2022-07-23 17:49:33 -06:00
Jon Trulson
2e4029de70
dtcalc: remove matherr() extern due to reversion of a9175c89
2021-12-17 15:21:24 -07:00
Jon Trulson
35360f9900
Revert "dtcalc: Change the prototype of matherr() to reflect actual usage and remove warnings."
...
This reverts commit a9175c896d .
This is the wrong fix for matherr() troubles.
2021-12-17 15:19:07 -07:00
Jon Trulson
dda11f0e38
Fix a bunch of -Wempty-body warnings reported by clang
...
Many of these were real bugs, like:
if (cond);
do_something
etc...
Others were just cosmetic - like placing the ';' on a separate line to
make the intention clear.
2021-12-11 13:10:24 -07:00
Peter Howkins
9f8dbf6a6c
dtcalc: Remove more 'extern' variables in .c files, by putting them in .h. Also reduce scope of vars and funcs with static.
2021-11-25 04:29:25 +00:00
Peter Howkins
a9175c896d
dtcalc: Change the prototype of matherr() to reflect actual usage and remove warnings.
2021-11-25 03:09:45 +00:00
Jon Trulson
36c9476a74
dtcalc: fix implicit-function-declaration warnings
2021-11-16 11:42:21 -07:00
Jon Trulson
ac8bd41373
Revert "Convert uses of XKeycodeToKeysym (deprecated) to XkbKeycodeToKeysym"
...
This reverts commit 15a2032626 .
This is wrong - it is missing the proper include file, and the
new function takes 4 arguments not 3.
2021-07-04 13:00:51 -06:00
Jon Trulson
51646fb06a
programs/: remove Imakefiles for completed modules
2021-07-03 19:12:43 -06:00
Jon Trulson
ece5c0ea14
Merge branch 'master' into autotools-conversion
...
Lost the ksh93 submodule so will re-add in a later commit.
2021-01-30 19:04:10 -07:00
Peter Howkins
aef196c6ca
dtcalc: remove some pointless macroing of function names to uppercase versionss
2020-11-26 23:00:18 +00:00
Peter Howkins
e4024b0bf9
dtcalc: Remove support for optional K&R prototypes to simplify code
2020-11-26 22:24:51 +00:00
Jon Trulson
90e61dda5f
Merge branch 'master' into autotools-conversion
2020-11-24 16:53:24 -07:00
Peter Howkins
e1196cdfec
dtcalc: Resolve gcc 10 errors about multiple definitions of global variables
2020-11-24 02:19:05 +00:00
Jon Trulson
11af2add7e
Merge branch 'master' into autotools-conversion
2020-03-23 12:55:32 -06:00
Jon Trulson
15a2032626
Convert uses of XKeycodeToKeysym (deprecated) to XkbKeycodeToKeysym
...
patch supplied from Peter G.
2020-03-23 12:51:18 -06:00
Jon Trulson
61506685a4
dtcalc: make it build
2019-11-19 19:27:47 -07:00
Jon Trulson
730da7747c
Change "if SUN" conditionals in remaining Makefile.am files to "if SOLARIS"
2019-10-28 18:54:17 -06:00
Chase
031411fc36
programs/dtcalc: add automake files
2019-10-23 15:34:20 -06:00
wmoxam
d380b0fac6
Remove legacysun code blocks
2019-10-14 15:54:33 -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
76721c2348
dtcalc/calctool.h: Use include stdlib rather than extern declarations
2018-11-08 14:19:25 -07:00
chase
dd68514e4f
Remove hpversion.h from repository
...
This patch removes hpversion.h from the repository, this also untangles a
lot of ifdef mess. This closes bug CDExc19524.
2018-10-06 17:00:38 -06:00
chase
90a2b2848a
remove ultrix support
2018-09-30 17:27:04 -06:00
Jon Trulson
b7599ec2a2
dtcalc: remove register keyword
2018-06-27 22:00:56 -06:00
Peter Howkins
7936fae07b
dtcalc: Change to ANSI function definitions
2018-06-28 04:09:20 +01:00
Ulrich Wilkens
16fbb15ecc
Fix BSD and Sun problems after coverity fixes
2018-05-31 17:46:03 -06:00
chase
164e695cd0
remove OSF1 support
2018-05-24 14:25:26 -06:00
chase
07900bd93b
Remove Unixware and openserver support
2018-05-20 12:13:07 -06:00
chase
8a4f389634
Remove UXPDS support
2018-05-15 20:27:22 -06:00
chase
33d2749ea3
Last of the spelling fixed
2018-04-28 12:36:44 -06:00
chase
1fe5a550b2
Fix typo in license headers
2018-04-28 12:30:20 -06:00
Jon Trulson
45bccb474c
dtcalc/ds_xlib.c: Coverity CID 175167; uninit value
2018-04-02 18:07:54 -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
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
Peter Howkins
a6b5ef552f
dtcalc: change from obsoleted MAXFLOAT to FLT_MAX from std C
2018-03-27 03:25:58 +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
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
Peter Howkins
2fc7807ee5
dtcalc: resolve 13 compiler warnings on 64 bit builds.
2014-12-30 14:43:12 +00:00
Jon Trulson
00540cb375
dtcalc: Coverity (memory corruption, moderate)
2014-12-26 16:19:23 -07:00
Jon Trulson
ff3cd78ac0
dtcalc: Coverity (memory corruption, moderate)
2014-12-26 16:17:43 -07:00
Ulrich Wilkens
01d6c363fa
OpenIndiana and Solaris port
2014-10-28 13:40:11 -06:00
Peter Tribble
468d576030
initial illumos port
2014-03-22 16:33:11 -06:00
Ulrich Wilkens
2d08153289
correction of message files
2013-09-15 19:35:53 -06:00