🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Neil Woods Wed, 10 May 2006 14:16
[tin] problem with dotlock under cygwin
#184710
Author: Neil Woods
Date: Wed, 10 May 2006 14:16
17 lines
1477 bytes
Being away from home for a few days, I decided to install cygwin on this
machine (Windows 98), and use tin.

When posting, and just before a message is sent, there is an error (with a
second countdown) similar to this:

5 Cannot dotlock /home/Default/News/posted
^
this counts down to zero.

Then a message appears to the effect that tin is unable to append to this
file.  Is this a known problem?  Any workarounds?

Thanks in advance.

-- 
Neil.
Re: [tin] problem with dotlock under cygwin
#184743
Author: Urs Janßen
Date: Wed, 10 May 2006 23:22
27 lines
2052 bytes
In <4ceau5F15n6haU2@individual.net>, Neil Woods wrote:
> Being away from home for a few days, I decided to install cygwin on this
> machine (Windows 98), and use tin.
> 
> When posting, and just before a message is sent, there is an error (with a
> second countdown) similar to this:
> 
> 5 Cannot dotlock /home/Default/News/posted
> ^
> this counts down to zero.
> 
> Then a message appears to the effect that tin is unable to append to this
> file.  Is this a known problem?  Any workarounds?

according to
<http://www.cygwin.com/ml/cygwin/2003-11/msg01201.html>
removing or commenting out the
	if (statbuf.st_nlink == 2)
line in src/lock.c (line 237) should help (what is the correct link
count on vfat?). if it does some feedback would be nice so I can apply
a patch upstream.

urs
-- 
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
 so rarely."
Re: [tin] problem with dotlock under cygwin
#185139
Author: Neil Woods
Date: Wed, 17 May 2006 13:27
40 lines
2617 bytes
Urs Janßen <urs@buil.tin.org> writes:

> In <4ceau5F15n6haU2@individual.net>, Neil Woods wrote:
>> Being away from home for a few days, I decided to install cygwin on this
>> machine (Windows 98), and use tin.
>> 
>> When posting, and just before a message is sent, there is an error (with a
>> second countdown) similar to this:
>> 
>> 5 Cannot dotlock /home/Default/News/posted
>> ^
>> this counts down to zero.
>> 
>> Then a message appears to the effect that tin is unable to append to this
>> file.  Is this a known problem?  Any workarounds?
>
> according to
> <http://www.cygwin.com/ml/cygwin/2003-11/msg01201.html>
> removing or commenting out the
> 	if (statbuf.st_nlink == 2)

Ah. I was hoping for a quicker solution. I don't/didn't have any Cygwin
development packages installed.  In any case, I'm back home now.

> line in src/lock.c (line 237) should help (what is the correct link
> count on vfat?). if it does some feedback would be nice so I can apply
> a patch upstream.

OK. I'll try and look at it again and let you know (not sure when
though).

Thanks.

> urs

-- 
Neil.
Q:	Know what the difference between your latest project
	and putting wings on an elephant is?
A:	Who knows?  The elephant *might* fly, heh, heh...
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