This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog cli/cli-cmds.c cli/cli-script.c
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 24 Jan 2012 20:56:34 -0000
- Subject: src/gdb ChangeLog cli/cli-cmds.c cli/cli-script.c
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2012-01-24 20:56:34
Modified files:
gdb : ChangeLog
gdb/cli : cli-cmds.c cli-script.c
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13771&r2=1.13772
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cli/cli-cmds.c.diff?cvsroot=src&r1=1.123&r2=1.124
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cli/cli-script.c.diff?cvsroot=src&r1=1.73&r2=1.74