🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by David J. Fiander Tue, 04 Feb 1992 02:28
Re: New MH release: MH 6.7.2
#1
Author: David J. Fiander
Date: Tue, 04 Feb 1992 02:28
23 lines
1309 bytes
According to mh@paris.ICS.UCI.EDU:
>.IP "LOCKF" \w'whatnow'u+2n
>This option causes \fIMH\fP to use the \fBlockf()\fP
>system call for locking (if available),
>instead of \fBflock()\fP.

The only problem is that it the lockf code is broken.  I
supplied a fix for the problem, but it was buried in a patch
which provided for SysV fcntl style locking which was not
adopted in the latest patch set.

The problem is in zotnet/mts/lock.c, in the function
f_lkopen().  Early on, there is a line which says

	access &= ! O_APPEND;	/* make sure we open at the beginning */

The '!' should be a '~'.

The same thing happens about three lines later, when O_RDONLY
is turned into O_RDWR.

- David
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads