Make sure the new description isn't the same as the old description
authorJeffrey Stedfast <fejj@ximian.com>
Wed, 17 Oct 2001 22:16:46 +0000 (22:16 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Wed, 17 Oct 2001 22:16:46 +0000 (22:16 +0000)
commit8d1a6f079a289d14e93c5f3b95fee71625791d4d
treed3a344cbb9996f5ec0ccf477f610d22ed7ee3441
parentaf21addee017fed66d2bf21233db3817cc5bd987
Make sure the new description isn't the same as the old description

2001-10-17  Jeffrey Stedfast  <fejj@ximian.com>

* camel-exception.c (camel_exception_set): Make sure the new
description isn't the same as the old description pointer before
freeing the old one.
(camel_exception_setv): Don't free the old description until we
set the new one this way we can reuse the old description in the
new description.

* providers/local/camel-mbox-folder.c (mbox_append_message): If
errno == EINTR, then we got a user-cancel so set the exception
appropriately so that we don't make the user shit his pants.
camel/ChangeLog
camel/camel-exception.c
camel/providers/local/camel-mbox-folder.c