Subj : src/sbbs3/sbbsexec.c To : Git commit to main/sbbs/master From : Rob Swindell Date : Mon Nov 29 2021 18:07:22 https://gitlab.synchro.net/main/sbbs/-/commit/0d4953ecadccced9caab24b4 Modified Files: src/sbbs3/sbbsexec.c Log Message: Fix sem_wait() call in vdd_read()Introduced in Revision 1.16 (CVS)Wed May 10 08:52:11 2006 UTC (15 years, 6 months ago) by rswindellThis was supposed to wait (block) until there was a new receivedbyte (the ringbuf semaphore was signaled), but we were passing the sem_tvalue rather than the pointer to the sem_t. Since sem_t (on Windows)is a HANDLE (which is a void*), there was no compiler warning orerror. Type-safety in C sucks.So, this just never worked (I'm assuming the call would just fail).I discovered this bug while working on NTVDMx64 support and in thatcase, this call would block/wait forever. Simple one character fix. --- SBBSecho 3.14-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .