* symfile.c: If O_BINARY isn't defined, set it to 0, call openp for

binary files oring in the right bit.

	* main.c, source.c, state.c, symmisc.c: use macros defined in
	fopen-{bin|both} when fopening files.

	* remote-hms.c, remote-sim.c: lint
This commit is contained in:
Steve Chamberlain
1993-01-06 18:22:01 +00:00
parent 81028ab0e7
commit a944e79a99
3 changed files with 13 additions and 18 deletions

View File

@@ -622,14 +622,13 @@ static void
hms_close (quitting)
int quitting;
{
/* Clear any break points */
hms_clear_breakpoints ();
/* Put this port back into REMOTE mode */
sleep (1); /* Let any output make it all the way back */
serial_write ("R\r", 2);
serial_close ();
if (is_open) {
serial_write ("R\r", 2);
serial_close ();
}
is_open = 0;
}