On Fri, Jan 16, 2004 at 02:24:34PM +0000, Mike Mason wrote:
> Someone, recently, posted a patch to reinstall the Control-C signal
> handler after setting the "stop working" flag inside the Subversion
> client, because we suspected that a ^C ^C sequence on Windows caused the
> process to terminate immediately.
>
> Unfortunately I can't find the patch, but here's the behaviour I'm
> seeing on an unpatched 0.35.1, with a large working copy.
>
I can't find it either, but ISTR it was from Garrett Rooney. Anyway,
it was probably something a lot the patch below. Give it a try, if
you can. It would be nice to get this resolved.
Index: subversion/svnadmin/main.c
===================================================================
--- subversion/svnadmin/main.c (revision 8336)
+++ subversion/svnadmin/main.c (working copy)
@@ -43,6 +43,9 @@
signal_handler (int unused)
{
cancelled = TRUE;
+#ifdef WIN32
+ apr_signal (SIGINT, signal_handler);
+#endif
}
/* Our cancellation callback. */
Index: subversion/clients/cmdline/main.c
===================================================================
--- subversion/clients/cmdline/main.c (revision 8336)
+++ subversion/clients/cmdline/main.c (working copy)
@@ -615,6 +615,9 @@
signal_handler (int unused)
{
cancelled = TRUE;
+#ifdef WIN32
+ apr_signal (SIGINT, signal_handler);
+#endif
}
/* Our cancellation callback. */
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 16 16:25:07 2004