[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-commits] Changes to mldonkey/src/daemon/driver/driverMain.ml
|
From: |
mldonkey-commits |
|
Subject: |
[Mldonkey-commits] Changes to mldonkey/src/daemon/driver/driverMain.ml |
|
Date: |
Thu, 06 Oct 2005 06:21:21 -0400 |
Index: mldonkey/src/daemon/driver/driverMain.ml
diff -u mldonkey/src/daemon/driver/driverMain.ml:1.75
mldonkey/src/daemon/driver/driverMain.ml:1.76
--- mldonkey/src/daemon/driver/driverMain.ml:1.75 Tue Sep 20 22:43:04 2005
+++ mldonkey/src/daemon/driver/driverMain.ml Thu Oct 6 10:21:07 2005
@@ -487,7 +487,7 @@
(if !!gui_bind_addr = Ip.any then "127.0.0.1"
else Ip.to_string !!gui_bind_addr) !!gui_port;
lprintf_nl (_b "If you connect from a remote machine adjust allowed_ips");
- if Autoconf.system = "windows" && not !keep_console_output then lprintf (_b
"%s") win_message;
+ if Autoconf.system = "cygwin" && not !keep_console_output then lprintf (_b
"%s") win_message;
add_init_hook (fun _ ->
if not !gui_included && ( !!start_gui || !!ask_for_gui ) then
@@ -531,11 +531,11 @@
DriverInteractive.initialization_completed := true;
DriverInteractive.save_config ();
- if Autoconf.system <> "windows" then
+ if not Autoconf.windows then
MlUnix.set_signal Sys.sigchld
(Sys.Signal_handle (fun _ -> lprintf_nl "Received SIGCHLD, doing
nothing"));
- if Autoconf.system <> "windows" then
+ if not Autoconf.windows then
MlUnix.set_signal Sys.sighup
(Sys.Signal_handle (fun _ ->
lprintf_nl "Received SIGHUP, closing all files/sockets";
@@ -543,7 +543,7 @@
Unix32.close_all ()
));
- if Autoconf.system <> "windows" then
+ if not Autoconf.windows then
MlUnix.set_signal Sys.sigpipe
(Sys.Signal_handle (fun _ -> if !verbose then lprintf_nl "Received
SIGPIPE, doing nothing"));
- [Mldonkey-commits] Changes to mldonkey/src/daemon/driver/driverMain.ml,
mldonkey-commits <=