🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fa.mh-workers
Article #1

Re: New MH release: MH 6.7.2

#1
From: 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
Technical Details
Message-ID: <1992Feb04.022824.15202@golem.uucp>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sources.bugs.mbox.zip!sparky!uunet!cs.utexas.edu!utgpu!watserv1!watmath!xenitec!golem!davidf
References: <11630.696818436@buckaroo.ics.uci.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1992Feb04.022824.15202@golem.uucp>
Subject: Re: New MH release: MH 6.7.2
Date: Tue, 04 Feb 1992 02:28:24 GMT
From: davidf@golem.uucp (David J. Fiander)
References: <11630.696818436@buckaroo.ics.uci.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sources.bugs.mbox.zip!sparky!uunet!cs.utexas.edu!utgpu!watserv1!watmath!xenitec!golem!davidf
Newsgroups: comp.mail.mh,comp.sources.bugs,fa.mh-workers