bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [Win32 Patch] console-close events


From: Darshit Shah
Subject: Re: [Bug-wget] [Win32 Patch] console-close events
Date: Sun, 19 Oct 2014 18:03:07 -0700
User-agent: Mutt/1.5.23 (2014-03-12)

On 06/17, Gisle Vanem wrote:
"Ángel González" <address@hidden> wrote:

+          event == CTRL_SHUTDOWN_EVENT ? "CTRL_SHUTDOWN_EVENT" :
+          "?");
Better something like "UNKNOWN EVENT" ?

Ok. That seems better.

PS. The above Sleep() seems to be ignored by WinCon. At least I failed to
make it sleep more than ~500 msec.
There may be a timeout on how long you can stay processing the event.

Why do you need that Sleep() call at all? I would remove  it.

When logging to the console (no '-o log-file' option), the Sleep(500) will make
the final "... cleanup." message stay a tiny bit longer (but barely readable).
Without a Sleep(), the console gets closed with only a message-beep.


Any final reviews / comments on this patch? I haven't tested it out for the lack of a Windows system. If there are no objections, maybe we can push this patch?


@Gisle: Could you kindly add the ChangeLog entries and submit a patch created using `git format-patch`? That way it is easier for us to apply them.

--
Thanking You,
Darshit Shah

Attachment: pgpDUFPo9xRCN.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]