direwolf/conf
Marc Thomson c88d451cba
Add TIMESTAMP config file directive (#668)
* Fix -T precedence so it does not clobber a future config-file timestamp setting

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* Add TIMESTAMP config file directive

Adds a config-file equivalent for the -T command-line option, so
timestamps can be enabled when launching Direwolf from a supervisor
that cannot pass CLI arguments (e.g. Winlink Express). Closes #625.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* Document TIMESTAMP config directive in sample config and changelog

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* Address final-review minor findings for TIMESTAMP directive

- man/direwolf.1: mention the TIMESTAMP config directive alongside -T,
  matching the -h help text.
- config.c: warn (rather than silently truncate) when a TIMESTAMP
  format string exceeds the 40-byte field.
- dtime_now.c: harden timestamp_user_format() against strftime()
  returning 0 on overflow, whose buffer contents are unspecified per
  the C standard. Pre-existing gap also reachable via -T; fixed here
  since this change adds a second entry point to the same code path.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-10 12:43:45 -04:00
..
99-direwolf-cmedia.rules Set AIOC HID permission. 2023-05-21 21:27:48 +01:00
CMakeLists.txt udev rules location 2025-04-24 13:32:07 -04:00
generic.conf Add TIMESTAMP config file directive (#668) 2026-08-10 12:43:45 -04:00
install_conf.cmake cmake: change install-conf script with configure_file() 2019-11-09 08:26:37 +01:00
sdr.conf reshape the repository moving objects to folders based on subject 2019-11-09 08:26:01 +01:00