This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: UPDATED: mutt-1.4.1-1


The latest mutt (has it been announced?) does not seems to
contain the patch discussed in 

http://www.cygwin.com/ml/cygwin/2003-02/msg01148.html
http://cygwin.com/ml/cygwin/2002-11/msg00628.html

and repeated below. Consequently it doesn't work on Win9x/ME.

Pierre

--- dotlock.c.orig      2003-10-20 22:11:36.000000000 -0400
+++ dotlock.c   2003-10-20 22:28:04.000000000 -0400
@@ -623,10 +623,14 @@ dotlock_lock (const char *realpath)
   
   while (hard_count++ < HARDMAXATTEMPTS)
   {
-
+    int res;
+  
     BEGIN_PRIVILEGED ();
-    link (nfslockfile, lockfile);
+    res = link (nfslockfile, lockfile);
     END_PRIVILEGED ();
+    
+    if (!res)
+      break;
 
     if (stat (nfslockfile, &sb) != 0)
     {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]