[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-devel
Subject:    Re: serious bug. Evolution and Microsoft mentality.
From:       Jonathan Walther <krooger () debian ! org>
Date:       2002-01-10 0:28:36
[Download RAW message or body]

Thank you for the patch.  To make it work, you need to define the
variable "folder_path".  I would recommend this:

char folder_path[4096];

And then before using it, do this:

memset(folder_path, 0, sizeof folder_path);

Cheers.

Jonathan

On Wed, Jan 09, 2002 at 04:57:34PM -0500, Jeffrey Stedfast wrote:
>> You solved the problem.  That is the correct solution.  After running
>> realpath(), use dirname() and make the tmpfile in the same directory
>> as the mailbox.
>> 
>[snip]
>
>The attached patch will fix this issue.
>
>> 
>> >> Again, provided one uses Maildir mailboxes, things will be fine.  But
>> >> the thought occurs, Evolution should do its "locking" on the file
>> >> returned from realpath() too.
>> >
>> >You are probably right.
>> 
>> I've thought about it some more, and I'm upgrading my "maybe" to a
>> strong "this is the proper way to do it".  Symlinks should not be
>> locked.  They should be followed with realpath() and the real mailbox
>> should be locked, like other MUA's do.  This will truly make it
>> compatible and play nicely on the Unix system.
>
>It also fixes this.

[Attachment #3 (application/pgp-signature)]
-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic