https://gitlab.synchro.net/main/sbbs/-/commit/a6dd4c68cdba571f7712e1a1
Modified Files:
src/sbbs3/nopen.c
Log Message:
A little paranoia around comparing a file date/time against current date/time
The file could be timestamped in the future (especially on a network FS).
We could maybe have been considering the lock too old (e.g. for REP packet unpacking) in this case and explain some of the collisions I see between
even threads on different machines unpacking the same REP Packet (or trying to), leading to errors like this one:
!ERROR 16 (Device or resource busy) renaming /sbbs/data/file/0290.rep
(20480 bytes) to /sbbs/data/file/0290.rep.697b1a12.bad
This shouldn't be possible if the mutex files are working as designed.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net