BBS:      TELESC.NET.BR
Assunto:  src/xpdev/filewrap.c
De:       Deuc¨
Data:     Sun, 15 Mar 2026 16:01:53 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/e4122aa602189ce9e5154c56
Modified Files:
	src/xpdev/filewrap.c
Log Message:
Remove vestigial (int) casts truncating off_t lock length

Both lock() and unlock() cast the off_t len parameter to int before
assigning to alock.l_len (which is off_t). The cast silently
truncates lock lengths on files > 2GB. Both sides are already off_t,
so the cast is unnecessary.

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

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