Jon Trulson
ab409095d6
Fix a couple of unused-comparison clang warnings
2021-12-12 12:52:14 -07:00
Jon Trulson
75ea7be520
DtSearch/raima: use autodetected byte endianness rather than forcing based on OS
2021-12-12 12:29:48 -07:00
Jon Trulson
c479fe7b9e
Fix some logical-not-parentheses warnings
2021-12-11 17:39:35 -07:00
Jon Trulson
24a2f05138
Fix some shift-op-parentheses warnings
2021-12-11 17:39:35 -07:00
Jon Trulson
d470302354
Fix several pointer-bool-conversion warnings that could cause cores
2021-12-11 17:39:35 -07:00
Jon Trulson
adc056eb83
MIMEBodyPart.C: fix a couple sizeof-pointer-memaccess warnings
2021-12-11 17:39:35 -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
Jon Trulson
18e25ce273
dtsession/SmUI.c: fix a build issue on OpenBSD 7
2021-12-10 17:24:40 -07:00
Jon Trulson
b900f8a36d
DtPamSvc: move PamSvc.h to include/Dt/
2021-12-10 14:08:02 -07:00
Jon Trulson
f8877e8e24
dtinfo: fix some installation issues
2021-12-10 12:52:07 -07:00
Jon Trulson
383f0cf4a0
C/guides: install them
2021-12-10 12:01:48 -07:00
Jon Trulson
30e65c6b14
doc/common/guides/guides_env.am: use HELP_LANG
2021-12-10 09:47:31 -07:00
Jon Trulson
b29bd77a2f
m4/compiler_flag_chk.m4: fix bug related to not testing the actual flag
2021-12-09 15:48:20 -07:00
Jon Trulson
a9e028f7c6
doc/C: get m-guides setup
2021-12-09 15:00:00 -07:00
Jon Trulson
eebb078c19
doc/C/guides: build the infolib and search DB
2021-12-09 13:50:21 -07:00
Jon Trulson
e26c8fb9a4
doc/C/guides: build the TOCs
2021-12-08 16:58:05 -07:00
Jon Trulson
e437a02e0b
dtinfo/dtinfogen: make it build
...
Now, as to whether it all actually works, I guess we will see.
2021-12-06 17:47:00 -07:00
Jon Trulson
93a3d73ef7
dtinfo: install required stuff, also in localized/
2021-12-06 11:59:00 -07:00
Jon Trulson
b6c938fb47
dtinfo: move the dtinfo_dfiles_hfiles.mk makefile include into dtinfo/src/
2021-12-05 19:48:48 -07:00
Jon Trulson
89cdc161d0
dtinfo: move the dtinfo_env.mk makefile include to programs/dtinfo/
2021-12-05 19:15:05 -07:00
Jon Trulson
b9dbea9d3a
dtinfo/dtinfo: get it to build
...
After fixing up some problems with the dtinfo/mmdb library, dtinfo now
links.
2021-12-05 11:57:50 -07:00
Jon Trulson
7540b13e2b
dtinfo/dtinfo/src: more changes to the way the libs are made
2021-12-05 11:57:50 -07:00
Jon Trulson
12c82495fd
configure: fix a typo in LIBSEARCH and LIBMMDB
2021-12-05 11:57:50 -07:00
Jon Trulson
10c77328fa
dtinfo/DtMmdb: Fix up another build issue
2021-12-05 11:57:50 -07:00
Jon Trulson
97b2f86eba
dtinfo/mmdb: redo the way this library is built
...
Specifically:
- use libtool so that the top level library contains the actual
objects, and not just the sub-archives, which the linker will just
ignore.
- create the source files via symlinks rather than referencing them
with relative paths. Doing it that way causes a 'make clean' to
delete objects in DtMmdb/ which is wrong.
- fix up utility/ - it seemed to be building more source files than
the original Imakefile listed. Other changes may need to be done
here if similar mistakes were made in other subdirs.
2021-12-05 11:57:50 -07:00
Jon Trulson
b24fd04619
dtinfo: get src/UAS building, finish msg and res building
...
Also, rework the way we build convenience libs for the classes to use
libtool. This fixes some potential linking issues and dependency
checking.
Next up will be to see if we can link and install it, along with it's
message catalogs, resources, etc.
2021-12-05 11:57:50 -07:00
Jon Trulson
bdf9256ab2
dtinfo/dtinfo: initial stab at making it build
2021-12-05 11:57:50 -07:00
Liang Chang
b816b85575
DtTerm: enable post-process output.
2021-12-03 22:10:57 +09:00
Peter Howkins
e2646219a4
dticon: Resolve some warnings about format bufferss
2021-11-25 05:14:25 +00:00
Peter Howkins
021a5ef691
dtfile: Resolve warnings about format string overflow.s
2021-11-25 04:58:01 +00:00
Peter Howkins
0307f6af82
dtpad: resolve warnings due to buffer safety
2021-11-25 04:44:30 +00: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
41dbfddc10
dtsession/Makefile.am: add config to SUBDIR so PAM config is built/installed
...
Also, update .gitignore due to some renaming of the PAM config files.
2021-11-22 13:18:17 -07:00
Liang Chang
c8762bcb01
autotools: install PAM configuration files directly instead of by
...
using the setup script.
2021-11-22 06:30:41 +08:00
Liang Chang
dd17c6a394
dtsearchpath: fix a crash when running dtappgather.
2021-11-21 15:56:58 +08:00
Jon Trulson
cf7e51ccb5
dthelp: fix implicit-function-declaration warnings (the rest)
...
... at least with regard to the non-generated code.
2021-11-16 18:28:23 -07:00
Jon Trulson
4f16e12ed8
dthelp: fix implicit-function-declaration warnings (mostly)
2021-11-16 16:24:58 -07:00
Jon Trulson
cc422524f7
dtsr: fix implicit-function-declaration warnings
2021-11-16 15:42:09 -07:00
Jon Trulson
e8af2b9ac8
dtpdm: fix implicit-function-declaration warnings
2021-11-16 15:24:09 -07:00
Jon Trulson
fd53532bcf
dtappbuilder: fix implicit-function-declaration warnings
...
With the exception of the yy* issues. Can resolve those at a later
time.
2021-11-16 15:21:44 -07:00
Jon Trulson
0ee97b3645
dtcm: fix implicit-function-declaration warnings
2021-11-16 14:46:48 -07:00
Jon Trulson
f6c0a00a7a
dtksh: fix implicit-function-declaration warnings
...
Tis does not fix those warnings in ksh93 itself, only the stuff we are
responsible for.
2021-11-16 12:39:18 -07:00
Jon Trulson
3021e01559
configure.ac: add m4 macros that can check for compiler option support
...
We now use this to set certain options, if supported by the compilers
(C/C++). Currently we enable various options, like
-Wno-format-truncation. We use this to ignore complaints about
possibly truncations due to the use of the snprintf() family of
functions - where forced truncation is the whole point.
2021-11-16 12:27:48 -07:00
Jon Trulson
4b3901f63b
dtspcd: fix implicit-function-declaration warnings
2021-11-16 11:45:11 -07:00
Jon Trulson
36c9476a74
dtcalc: fix implicit-function-declaration warnings
2021-11-16 11:42:21 -07:00
Jon Trulson
5a0e223ea1
dtterm: fix implicit-function-declaration warnings
2021-11-16 10:40:44 -07:00
Jon Trulson
3fe7bbeca5
dtsession/SmSave: fix format pointer confusion warnings
2021-11-16 09:57:20 -07:00
Jon Trulson
3f1f2ea0f6
dticon: fix implicit-function-declaration warnings
2021-11-15 16:07:28 -07:00
Jon Trulson
6f553130a3
dtstyle: fix implicit-function-declaration warnings
2021-11-15 16:07:28 -07:00