Re: [PATCH] supports_delete_on_close

2012-06-20 Thread Bruno Haible
Hi John, > I'm submitting this patch which Windows users have confirmed fixes a bug > where tempfiles are not deleted. This was caused by failing to initialise > the argument to GetVersionEx, like the MS documentation mandates. Oops, a big blunder, as it could cause stack corruption if the unin

[PATCH] supports_delete_on_close

2012-06-20 Thread John Darrington
562fd Mon Sep 17 00:00:00 2001 From: John Darrington Date: Tue, 19 Jun 2012 18:26:55 +0200 Subject: [PATCH] supports_delete_on_close: Initialise OSVIERSIONINFO struct per documentation The microsoft documentation says that dwOSVersionInfoSize must be initialised with the size of the struct. This w