bugThe nmh Mail Handling System - Bugs: bug #14977, dot locking model broken

 
 

bug #14977: dot locking model broken

Submitted by:  Jeffrey C Honig <jchonig>
Submitted on:  Mon 14 Nov 2005 03:31:09 PM UTC  
 
Category: compatibilitySeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 19 Nov 2005 04:26:16 PM UTC, comment #1:

I've committed the patch that special-cases /dev/null, because that's clearly better than the current state of CVS, and fixes this bug.

Peter Maydell <pm215>
Project Administrator
Mon 14 Nov 2005 03:31:09 PM UTC, original submission:

When running under mh-e, I set the MHCONTEXT environment variable to
/dev/null. This prevents my mh-e context from confusing my command line
context.

With 1.1 this breaks things. With the default dot locking, this causes
lkopen_dot() to call lockit() which tries to mkstemp() a file in /dev
which I'm sure fails due to permission problems. This results in
lkopen_dot() sleeping and looping.

I understand why this was done, but I think that the ability to set the
context to /dev/null is a useful and not unknown feature. Any ideas on
how we can insure this continues to work?

Jeffrey C Honig <jchonig>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 19 Nov 2005 04:26:16 PM UTCpm215StatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1