On Tue, Jan 10, 2006 at 10:53:00AM -0500, Chung-chieh Shan wrote: > Package: tin > Version: 1:1.8.0-1 > Severity: important > Tags: patch > > Hello, > > If the user's mailbox is a Maildir directory, then mail_check() in > misc.c allocates one too few byte to store the name of the "new" > subdirectory of the Maildir directory, because joinpath() assumes that > the given file name (in this case, MAILDIR_NEW) does not begin with > a slash. The following patch removes the slash at the beginning of > MAILDIR_NEW and makes tin start for me again. > > --- tin-1.8.0.orig/src/misc.c.orig > +++ tin-1.8.0/src/misc.c > @@ -912,7 +912,7 @@ > * > * TODO: why not cache the mailbox_name? > */ > -#define MAILDIR_NEW "/new" > +#define MAILDIR_NEW "new" > t_bool > mail_check( > void) > > Thanks, > Ken
thanks, I've applied your fix upstream urs -- "Only whimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it ;)" - Linus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

