Path: utzoo!attcan!uunet!snorkelwacker!mintaka!ogicse!schaefer From: schaefer@ogicse.ogc.edu (Barton E. Schaefer) Newsgroups: comp.mail.mush Subject: Re: dead.letter locked twice Message-ID: <10950@ogicse.ogc.edu> Date: 31 Jul 90 16:54:04 GMT References: <9007310344.AA25603@cse.ogi.edu> <10703@cs.utexas.edu> Organization: Oregon Graduate Institute (formerly OGC), Beaverton, OR Lines: 17 In article <10703@cs.utexas.edu> fletcher@cs.utexas.edu (Fletcher Mattox) writes: } Barton E. Schaefer writes: } } > /v/ai/v0/fletcher/dead.letter.lock } >was for some reason left behind after a previous ~q or interrupt. } } Yep. On closer examination, I see that the lock file from } the previous ~q isn't being removed because close_lock() } tries to unlink(~/dead.letter.lock) without first expanding } the ~. Ugh. Band-aid applied and will appear in patch #3. I wish there was a better way to handle it than having close_lock() do the tilde-expansion, such as having open_file() return the name it used somehow, but that would require changing too many other things. -- Bart Schaefer schaefer@cse.ogi.edu