From rswindell@VERT to CVS commit on Wed Nov 15 22:23:54 2017
src/smblib smballoc.c 1.9 1.10
Update of /cvsroot/sbbs/src/smblib
In directory cvs:/home/rswindell/sbbs/src/smblib
Modified Files:
smballoc.c
Log Message:
Change for freeing msg header and data storage: when not in hyper-alloc
mode, a freeing of header or data storage at the end of the file will now result in the file (the allocation file *and* the data/hdr file) being truncated - saving potentially many megabytes of disk space for
non-maintained msg bases (e.g. the mail base). Previously, self-packing
and fast-alloc msg-bases would never shrink without running smbutil m,
but that's now no longer true.
Something similar could be done for hyper-alloc msgbases, but I'm not sure that's really needed since the email base can never be hyper-allocated and
this change was really for the email msgbase where allocation files are a
must due to the multiple-recipients/headers per msg data feature.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
From rswindell@VERT to CVS commit on Thu Nov 16 14:47:36 2017
src/smblib smballoc.c 1.10 1.11
Update of /cvsroot/sbbs/src/smblib
In directory cvs:/tmp/cvs-serv12252
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
From rswindell@VERT to CVS commit on Tue Nov 21 15:32:23 2017
src/smblib smballoc.c 1.11 1.12
Update of /cvsroot/sbbs/src/smblib
In directory cvs:/tmp/cvs-serv1315
Modified Files:
smballoc.c
Log Message:
smb_freemsgdat() [called by smb_freemsg_dfield() and smb_freemsg()]
and smb_incmsg_dfields(), now lock and unlock the SMB header.
This shouldprevent some mail base corruption as well as this error:
-203 (smb_incmsgdat 13 'Permission denied' reading allocation record at offset 795568) incrementing data allocation units
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
From Rob Swindell@VERT to Git commit to sbbs/master on Thu Nov 5 00:02:18 2020
https://gitlab.synchro.net/sbbs/sbbs/-/commit/6e2726e92871a4797f3d2d0f
Modified Files:
src/smblib/smballoc.c
Log Message:
Fix warning on 32-bit Linux build with large file support enabled (64-bit off_t)
---
ï¿ Synchronet ï¿ Vertrauen ï¿ Home of Synchronet ï¿ [vert/cvs/bbs].synchro.net
From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Mar 2 13:25:51 2022