[PATCH setup 2/2] List and offer to kill processes preventing a file from being written

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Thu Feb 7 05:06:00 GMT 2013


On Wed, Feb 06, 2013 at 08:03:03PM +0000, Jon TURNEY wrote:
>- Enumerate processes preventing a file from being written
>- Replace the MessageBox reporting an in-use file with a DialogBox reporting the
>in-use file and the processes which are using that file
>- Offer to kill processes which have files open, trying /usr/bin/kill with SIGTERM,
>then SIGKILL, then TerminateProcess
>
>v2:
>- Use TerminateProcess directly, rather than using kill -f, so we will work even
>if kill doesn't
>- Fix formatting: spaces before parentheses for functions and macros

Thanks for doing this.  I know that the setup source code doesn't follow this
rule consistently.

Please check in.  This looks like a really nice change.

Thanks.

cgf



More information about the Cygwin-apps mailing list