* serial.c (serial_close): If scb is NULL, don't try to close

it.
       * configure.in: Add support for rom68k and bug boot monitors.
This commit is contained in:
Rob Savoye
1993-06-09 01:18:26 +00:00
parent 86a5593e9c
commit f7630ec9c5
2 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
Tue Jun 8 17:54:09 1993 Rob Savoye (rob@rtl.cygnus.com)
* serial.c (serial_close): If scb is NULL, don't try to close
it.
* configure.in: Add support for rom68k and bug boot monitors.
Tue Jun 8 17:39:12 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
* coffread.c (init_stringtab): Fix bug where sizeof(long) != 4.

View File

@@ -116,9 +116,11 @@ serial_close(scb)
{
last_serial_opened = NULL;
scb->ops->close(scb);
free(scb);
if (scb != NULL)
{
scb->ops->close(scb);
free(scb);
}
}
#if 0