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]

Fw: Mutt for Cygwin


I fetched the sources for 1.3.28, compiled, debugged and voila: these are
the changes I made

07:56pm # mutt-1.3.28$ diff mh.c mh.c~
913,916c913
<     /*Elias-> if (safe_rename (full, msg->path) == 0)*/
<     if (safe_rename (msg->path, full) == 0)
<           /*Elias<-*/
<
---
>     if (safe_rename (full, msg->path) == 0)
07:56pm # mutt-1.3.28$ diff lib.c lib.c~
293,296d292
<   return rename (src, target);
< /* Elias-> */
< #if 0
< /* <-Elias */
351,353d346
< /* Elias-> */
< #endif
< /* <-Elias */

If you have the time please check them! To me, this sounds like is a very
strange logical flaw,
since in mh.c#913 mutt tries to rename a file that does not exist (full)
into an existing file (msg->path).
So if you just swap the arguments and make safe_rename to work (at least the
given implementation
does not work correct on my system, I just replaced its body with a plain

rename( src, target )

pop3 fetching works fine.

    Regards,
            Elias Hatzigeorgiou

----- Original Message -----
From: Gary R. Van Sickle
To: Elias Hatzigeorgiou
Sent: Saturday, April 20, 2002 5:52 AM
Subject: RE: mutt


Hi Elias,

Normally these things should be discussed on the cygwin mailing list so that
everybody can benefit and/or help.  But in this case, let's make an
exception ;-).  This is definitely a new one on me.  Attached is a zipped
copy of the new 1.3.28 version of mutt.exe which I'm pathetically late in
getting packaged up.  Unzip it to your /usr/bin directory (you probably want
to rename and save your 1.2.5i-6 mutt.exe), and see if the new one fixes it.

--
Gary R. Van Sickle
Brewer.  Patriot.
-----Original Message-----
From: Elias Hatzigeorgiou [mailto:hlias@4m.gr]
Sent: Friday, April 19, 2002 9:02 AM
To: g.r.vansickle@worldnet.att.net
Subject: mutt


Hello Gary,
    I have just installed mutt-1.2.5i-6 for cygwin. Everything seems to work
right,
until the time I try to get the new mail from my POP3 server. By pressing
'G',
mutt connects to the server and starts getting messages.

    But for some reason, it faills to complete mail fetching and goes on an
infinite loop,
interminably creating new files with the same message in the folder
~/Mail/inbox/new.
( I have to kill the process in order to stop it from taking up my disk with
those files )
example filename is :
 ~/Mail/inbox/new/1019223824.880_1.ELIAS
~/Mail/inbox/new/1019223824.880_2.ELIAS
...
~/Mail/inbox/new/1019223824.880_980.ELIAS
~/Mail/inbox/new/1019223824.880_981.ELIAS
...

    I would appreciate any help.
        Regards,
                Elias Hatzigeorgiou



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