diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-01-24 20:56:33 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-01-24 20:56:33 +0000 |
commit | 86eb7e951a825be0c81726558621161edf6858e9 (patch) | |
tree | bfdd8d38414ca26bb3fd4eec5126d74ef98a968d /gdb/ChangeLog | |
parent | 30b91c90791df291e824964776a8c9c89d66d4bc (diff) | |
download | gdb-86eb7e951a825be0c81726558621161edf6858e9.zip gdb-86eb7e951a825be0c81726558621161edf6858e9.tar.gz gdb-86eb7e951a825be0c81726558621161edf6858e9.tar.bz2 |
gdb/
Code cleanup.
* cli/cli-cmds.c (source_script_from_stream): Never fclose STREAM.
Update the function comment for it.
(source_script_with_search): Call make_cleanup_fclose for STREAM.
* cli/cli-script.c (script_from_file): Do not call make_cleanup_fclose
for STREAM.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7cd2ce2..e043046 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com> + + Code cleanup. + * cli/cli-cmds.c (source_script_from_stream): Never fclose STREAM. + Update the function comment for it. + (source_script_with_search): Call make_cleanup_fclose for STREAM. + * cli/cli-script.c (script_from_file): Do not call make_cleanup_fclose + for STREAM. + 2012-01-24 Pedro Alves <palves@redhat.com> * breakpoint.c (bpstat_stop_status): Moving clearing print_it |