Re: Windows port merge - Service support (part 3) [PATCH]

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 24 Apr 2003 08:37:17 +0200

On Wednesday 23 April 2003 19.49, Guido Serassio wrote:

> - new _SQUID_WIN32_ define instead of (_SQUID_CYGWIN_) ||
> (_SQUID_MSWIN_)

Applied and extended to also replace the same construct in other
files. (grep/replace)

> - core service support in main.cc

NOT applied as part of the patch does not look correct_

@@ -1019,14 +1097,35 @@ sendSignal(void)
     pid = readPidFile();

     if (pid > 1) {
+#if USE_WIN32_SERVICE
+
+ if (opt_signal_service)
+ WIN32_sendSignal(opt_send_signal);
+ else {
+#endif

[snip]
             exit(1);
         }
+
+#if defined(USE_WIN32_SERVICE) && defined(_SQUID_CYGWIN_)
+
+ }
+
+#endif
+

An updated patch of what was actually applied is attached.

Regards
Henrik

Received on Thu Apr 24 2003 - 00:37:07 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:42 MST