diff options
| author | Veerapuram Varadhan <vvaradan@src.gnome.org> | 2006-07-26 18:12:08 +0000 |
|---|---|---|
| committer | Veerapuram Varadhan <vvaradan@src.gnome.org> | 2006-07-26 18:12:08 +0000 |
| commit | cfe0b393b4c5027fd75fa7968d1784f6e7a49ac6 (patch) | |
| tree | 1c5458a01bf6d6da4d5456e32614d9c6bab0f58d | |
| parent | f45e10535337aafa9d1bda5cb2c8c54c713efa15 (diff) | |
| download | evolution-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-- | ChangeLog | 7 | ||||
| -rw-r--r-- | libedataserver/e-msgport.c | 14 |
2 files changed, 14 insertions, 7 deletions
@@ -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")); } |
