summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVeerapuram Varadhan <vvaradan@src.gnome.org>2006-07-26 18:12:08 +0000
committerVeerapuram Varadhan <vvaradan@src.gnome.org>2006-07-26 18:12:08 +0000
commitcfe0b393b4c5027fd75fa7968d1784f6e7a49ac6 (patch)
tree1c5458a01bf6d6da4d5456e32614d9c6bab0f58d
parentf45e10535337aafa9d1bda5cb2c8c54c713efa15 (diff)
downloadevolution-data-server-cfe0b393b4c5027fd75fa7968d1784f6e7a49ac6.tar.gz
** Fixes #343976 Make e_msgport_put symmetric to e_msgport_wait Patch
** Fixes #343976 * libedataserver/e-msgport.c (e_msgport_put): Make e_msgport_put symmetric to e_msgport_wait Patch contributed by Ed Catmur <ed@catmur.co.uk>
-rw-r--r--ChangeLog7
-rw-r--r--libedataserver/e-msgport.c14
2 files changed, 14 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index f6bce104a..7e6d0239d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-07-26 Veerapuram Varadhan <vvaradhan@novell.com>
+
+ ** Fixes #343976
+ * libedataserver/e-msgport.c (e_msgport_put): Make e_msgport_put
+ symmetric to e_msgport_wait
+ Patch contributed by Ed Catmur <ed@catmur.co.uk>
+
2006-07-25 Harish Krishnaswamy <kharish@novell.com>
* configure.in, NEWS: EDS 1.7.90.1 release.
diff --git a/libedataserver/e-msgport.c b/libedataserver/e-msgport.c
index f9dda6fc8..de1f9f30e 100644
--- a/libedataserver/e-msgport.c
+++ b/libedataserver/e-msgport.c
@@ -598,13 +598,6 @@ void e_msgport_put(EMsgPort *mp, EMsg *msg)
#endif
g_mutex_unlock(mp->lock);
- if (fd != -1) {
- m(printf("put: have pipe, writing notification to it\n"));
- do {
- w = E_WRITE (fd, "E", 1);
- } while (w == -1 && E_IS_STATUS_INTR ());
- }
-
#ifdef HAVE_NSS
if (prfd != NULL) {
m(printf("put: have pr pipe, writing notification to it\n"));
@@ -613,6 +606,13 @@ void e_msgport_put(EMsgPort *mp, EMsg *msg)
} while (w == -1 && PR_GetError () == PR_PENDING_INTERRUPT_ERROR);
}
#endif
+ if (fd != -1) {
+ m(printf("put: have pipe, writing notification to it\n"));
+ do {
+ w = E_WRITE (fd, "E", 1);
+ } while (w == -1 && E_IS_STATUS_INTR ());
+ }
+
m(printf("put: done\n"));
}