mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
HPMERGE:
Pass gdb_stderr instead of stderr. In serial.c, fix call to gdb_fclose() - pass gdb_file** not gdb_file*
This commit is contained in:
@@ -309,7 +309,7 @@ serial_close (scb, really_close)
|
||||
serial_current_type = 0;
|
||||
|
||||
/* XXX - What if serial_logfp == gdb_stdout or gdb_stderr? */
|
||||
gdb_fclose (serial_logfp);
|
||||
gdb_fclose (&serial_logfp);
|
||||
serial_logfp = NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user