This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [pushed] Re: [PATCH 1/6] Code cleanup: C++ify .gdb_index producer.
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Victor Leschuk <vleschuk at accesssoftek dot com>
- Date: Sun, 18 Jun 2017 16:25:30 +0200
- Subject: Re: [pushed] Re: [PATCH 1/6] Code cleanup: C++ify .gdb_index producer.
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jan dot kratochvil at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com D61BC61D0A
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com D61BC61D0A
- References: <149582312757.15869.18345460438195439402.stgit@host1.jankratochvil.net> <149582313928.15869.12647134810146005233.stgit@host1.jankratochvil.net> <8efc0742-1014-4fe0-6948-f40a9c5c4975@redhat.com>
On Mon, 12 Jun 2017 18:08:07 +0200, Pedro Alves wrote:
> + file_closer close_out_file (out_file);
> + gdb::unlinker unlink_file (filename.c_str ());
I heard on MS-Windows one cannot delete a file which is still open.
Jan