This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
RE: UPDATED: mutt-1.4.1-1
- From: "Gary R. Van Sickle" <g dot r dot vansickle at worldnet dot att dot net>
- To: <cygwin-apps at cygwin dot com>
- Date: Wed, 22 Oct 2003 14:13:43 -0500
- Subject: RE: UPDATED: mutt-1.4.1-1
> The latest mutt (has it been announced?)
Not yet, no. I have to apologize, I've been busy getting my brother married. I
shall do so post-haste.
> 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.
>
Yeah, sorry. I actually looked for and didn't find the patch, and it wasn't
immediately obvious to me how to apply your explanation of how exim worked to
mutt, nor could I test the results since I currently have no access to 9x/ME.
I'll be releasing a -2 shortly and I'll get this in it. Thanks for bringing
this to my attention Pierre (and for sending the patch upstream).
--
Gary R. Van Sickle
> --- 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)
> {
>