TIP: Click on subject to list as thread! ANSI
echo: sync_programming
to: Git commit to main/sbbs/m
from: Rob Swindell (on Debian L
date: 2024-11-10 21:56:00
subject: src/xpdev/filewrap.h

https://gitlab.synchro.net/main/sbbs/-/commit/77c31de6b8e073473950fe37
Modified Files:
	src/xpdev/filewrap.h
Log Message:
Fix write-locks (deny-all/exclusive flocks) in sopen()

SH_DENYRW (deny-all) locks were broken 18 years ago with commit b866f1990a.

This fixes that by treating SH_COMPAT the same as SH_DENYNO (only), rather
than the same as SH_DENYNO or SH_DENYRW (and performing no locking).

This is likely the/a root-cause of some SBBS file corruption on *nix systems.
--- SBBSecho 3.21-Linux
                                                                            
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.