mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
2010-05-10 Michael Snyder <msnyder@vmware.com>
* utils.c (do_fclose_cleanup) Restore local variable.
This commit is contained in:
parent
862edab9b7
commit
c02866a09f
@ -1,3 +1,7 @@
|
||||
2010-05-10 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* utils.c (do_fclose_cleanup) Restore local variable.
|
||||
|
||||
2010-05-09 Doug Evans <dje@google.com>
|
||||
|
||||
* record.c (init_record_core_ops): Rename record_core to record-core.
|
||||
|
@ -266,7 +266,8 @@ make_cleanup_close (int fd)
|
||||
static void
|
||||
do_fclose_cleanup (void *arg)
|
||||
{
|
||||
fclose (arg);
|
||||
FILE *file = arg;
|
||||
fclose (file);
|
||||
}
|
||||
|
||||
/* Return a new cleanup that closes FILE. */
|
||||
|
Loading…
Reference in New Issue
Block a user