From d05c9196686d90ce1dbe68f0ae1189e5f881846d Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Tue, 1 Nov 2016 14:22:48 +0100 Subject: [PATCH] Made the notification_email library compilable with 16.05 and upcoming 16.11 . --- .../notification_email-safe.ecf | 16 ++++++++++++++-- .../notification_email/notification_email.ecf | 16 ++++++++++++++-- .../notification_external_mailer.e | 11 +++++++---- 3 files changed, 35 insertions(+), 8 deletions(-) diff --git a/library/runtime/process/notification_email/notification_email-safe.ecf b/library/runtime/process/notification_email/notification_email-safe.ecf index 177c5441..040ee052 100644 --- a/library/runtime/process/notification_email/notification_email-safe.ecf +++ b/library/runtime/process/notification_email/notification_email-safe.ecf @@ -1,5 +1,5 @@ - + @@ -9,6 +9,7 @@ + @@ -16,7 +17,18 @@ - + + + + + + + + + + + + diff --git a/library/runtime/process/notification_email/notification_email.ecf b/library/runtime/process/notification_email/notification_email.ecf index 353b3b42..79f70e54 100644 --- a/library/runtime/process/notification_email/notification_email.ecf +++ b/library/runtime/process/notification_email/notification_email.ecf @@ -1,5 +1,5 @@ - + @@ -9,6 +9,7 @@ + @@ -16,7 +17,18 @@ - + + + + + + + + + + + + diff --git a/library/runtime/process/notification_email/notification_external_mailer.e b/library/runtime/process/notification_email/notification_external_mailer.e index c07880a1..d65e2d58 100644 --- a/library/runtime/process/notification_email/notification_external_mailer.e +++ b/library/runtime/process/notification_email/notification_external_mailer.e @@ -123,11 +123,13 @@ feature -- Basic operation p.launch end if p.launched and not p.has_exited then - p.wait_for_exit_with_timeout (1_000_000) + execution_environment.sleep (1_000) + p.wait_for_exit if not p.has_exited then p.terminate if not p.has_exited then - p.wait_for_exit_with_timeout (1_000_000) + execution_environment.sleep (1_000) + p.wait_for_exit end end end @@ -135,7 +137,8 @@ feature -- Basic operation if p /= Void and then p.launched and then not p.has_exited then p.terminate if not p.has_exited then - p.wait_for_exit_with_timeout (1_000_000) + execution_environment.sleep (1_000) + p.wait_for_exit end end end @@ -196,7 +199,7 @@ feature {NONE} -- Implementation invariant note - copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others" + copyright: "2011-2016, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software