BBS:      TELESC.NET.BR
Assunto:  src/sbbs3/upgrade_to_v319.c
De:       Rob Swindell (on Debian Linux)
Data:     Wed, 27 May 2026 22:35:57 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/46e06da739b2b3cb36eb403a
Modified Files:
	src/sbbs3/upgrade_to_v319.c
Log Message:
upgrade_to_v319: refuse to clobber already-upgraded file bases

After smb_open(), check smb.status.total_msgs and skip any dir with
existing files; require -f on the command line to force overwrite.
Previously the tool unconditionally re-ran smb_create() on every dir,
destroying populated SMB file bases when re-run on an upgraded system.

Also remove the unused overwrite() helper and add -h/-? usage.

Co-Authored-By: Claude Opus 4.7 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]