Tags:
create new tag
view all tags
Question Related to RCSProblemsOnWindows

  1. Lock files are not being removed after a file is being edited, meaning that I have to break the locks every time I need to re-edit.

We are using Rcs57.zip from the TWikiOnWindows topic.

Thanks for your help!

  • TWiki version: Dec2000
  • Web server: Apache
  • Server OS: Windows NT4 SP6

-- MartinCleaver - 20 Feb 2001

Answer

.lock files get purged by the mailnotify script, so they only get removed if you call it frequently. It does not matter if they are not removed because TWiki checks the timestamp to determine if a topic is still locked. Not sure why this would not work on Windows though.

-- PeterThoeny - 24 Feb 2001

Ahah. None of the mail stuff works for me yet. Thanks for the tip. I'll (get someone to) investigate.

-- MartinCleaver - 26 Feb 2001

This is to do with Carriage returns being in the .lock file. More to follow but read http://www.perl.com/pub/doc/manual/html/pod/perlport.html#Newlines

-- MartinCleaver - 27 Feb 2001

I have it working now. I put binmode(FH) around every FH in wikistore.pm. We should decide what format (i.e. windows or UNIX) should be used on Windows machine.

For the new Store.pm. Be Wary of splitting on \n, as you otherwise end up with something very strange on UNIX machines. The $lockName being returned from the file had an CR appended to it making it ne $userName.

When I get back to work I'll attach my wikistore.pm. Feel free to remind me.

-- MartinCleaver - 27 Feb 2001

SupportStatus:
AnsweredQuestions
Topic attachments
I Attachment History Action Size Date Who Comment
Perl source code filepm wikistore.pm   manage 10.3 K 2001-03-01 - 10:27 UnknownUser  
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2001-03-01 - MartinCleaver
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.