From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18420 invoked by alias); 12 Mar 2002 21:26:11 -0000 Mailing-List: contact sourcenav-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sourcenav-owner@sources.redhat.com Received: (qmail 18325 invoked from network); 12 Mar 2002 21:26:08 -0000 Received: from unknown (HELO shasta.pdx.steptech.com) (207.138.226.173) by sources.redhat.com with SMTP; 12 Mar 2002 21:26:08 -0000 Received: by shasta.pdx.steptech.com with Internet Mail Service (5.5.2653.19) id ; Tue, 12 Mar 2002 13:26:08 -0800 Message-ID: <26F9F6EAB586D411850700B0D049E6E410BDEC@shasta.pdx.steptech.com> From: Wally Kramer To: sourcenav@sources.redhat.com Subject: RE: SN5.0.0: "you already have project xxx open on this machine" Date: Thu, 14 Mar 2002 13:39:00 -0000 X-Mailer: Internet Mail Service (5.5.2653.19) X-SW-Source: 2002-q1/txt/msg00162.txt.bz2 Examining the source, I find lock file management in snavigator/db/dbimp.c line 521 sprintf(lock_file,"%s.lck",db_prefix); where db_prefix is "directory/project_name". So it appears to create a file directory/project.lck which contains the user/pid/etc of the locking user. I don't see any other references to file locking, besides those in this module. -----Original Message----- From: Charles Manning Sent: Tuesday, 12 March 2002 12:50 Cc: sourcenav@sources.redhat.com Subject: Re: SN5.0.0: "you already have project xxx open on this machine" On Tue, 12 Mar 2002 08:33, Khamis Abuelkomboz wrote: > I didn't see the reply to your question. It was in the past so, that SN > has created a .lck file. > But in the new release the information the project is being opened is > ?stored? in the > project file itself. > > I came sometimes into this problem and had the only chance to recreate > the project. I thought this might be the case: It would be nice to know which bytes in the file are the lock bytes. That would allow a fast and nasty way to fix the problem. > > khamis > > Charles Manning wrote: > >Thanx for the previous help on this. I sent a thanx message to to the > > reply address (wally@steptech.com) but that bounced. > > > >Anyway I came across the problem again and there was no .lock file in the > >.snprj directory. > >I also deleted the ~/.sn stuff. Still no go :-(. > > > > > >Any more pointers? > > > >Thanx > > > >-- CHarles