4 Commits

Author SHA1 Message Date
gottfriedleibniz 3d239d3db5 cleanup va_start/va_end and introduce vasprintf (#826)
* refactor: cleanup va_start/va_end

- Missing va_end statements;
- Incorrect va_copy ordering in BFR_VSNPRINTF;
- Sanitize snprintf results or ensure buffer is initially \0'd.

* refactor: introduce vasprintf

Replace dynamic format string allocation (i.e., incrementing a buffer by
a fixed amount until vsnprintf returns success) with vasprintf.
Polyfill'ing for builds that do not include the GNU extension.
2026-04-30 12:44:49 -07:00
gottfriedleibniz d79382bbfe Run codespell on README, build, and source files. (#824)
* chore: run codespell on source/header files

Fixes most reported typos discovered by codespell (while trying to be
unopinionated about American vs. British English).

* chore: run codespell on build/readme files
2026-04-10 11:01:50 -07:00
Fish (David B. Trout) 4a19c82202 COSMETIC: remove trailing spaces 2025-09-18 17:39:34 -07:00
Mike Alexander a4bf911045 Add code to emulate a HIM device to connect MTS to the Internet (#689)
* add emulated HIM device to connect MTS to the Internet.

A HIM is a Host Interface Machine which provides an interfave between
the Michigan Terminal System (MTS) and the Internet.

* Cosmetic changes only.

* Move some declarations to keep old compilers happy.
2025-01-27 00:41:12 -08:00