🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #464

Re: dead.letter locked twice

#464
From: Barton E. Schaefer
Date: Tue, 31 Jul 1990 16:54
17 lines
1142 bytes
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
Technical Details
Message-ID: <10950@ogicse.ogc.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!mintaka!ogicse!schaefer
References: <9007310344.AA25603@cse.ogi.edu> <10703@cs.utexas.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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