https://gitlab.synchro.net/main/sbbs/-/commit/133b352ed67be52b14ecb488
Modified Files:
src/sbbs3/qwkjob.cpp
Log Message:
qwkjob: remove a user's stale temp packets before packing
A packet is written as data/file/<user#>.<host>.<pid>.qwk.tmp and then
renamed to <user#>.qwk. When the rename failed and the temp packet could
not be removed either, only a later pack by the same process overwrote
it: after a restart the pid differs and the file was left for good.
The temp name has included the pid since bfab7b8c2b (2026-10-25), and
has ended in .qwk.tmp since 3881be3f01 (2026-10-26).
Remove any <user#>.*.qwk.tmp before packing and log a notice when one
is found. This runs with the user's pack lock held, so no other job can
be writing one.
Co-Authored-By: Claude Fable 5.2 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net