mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
* ports.c (s_scm_close_all_ports_except): Use SCM_ARG1 in a
SCM_VALIDATE instead of 1 to avoid a check on the argument (since it's not the actual name of the formal).
This commit is contained in:
parent
1e48482362
commit
cdc9576725
1 changed files with 1 additions and 1 deletions
|
@ -621,7 +621,7 @@ which are not needed in the new process.")
|
|||
{
|
||||
SCM port = SCM_COERCE_OUTPORT (SCM_CAR (ports_ptr));
|
||||
if (i == 0)
|
||||
SCM_VALIDATE_OPPORT(1,port);
|
||||
SCM_VALIDATE_OPPORT(SCM_ARG1,port);
|
||||
if (port == thisport)
|
||||
found = 1;
|
||||
ports_ptr = SCM_CDR (ports_ptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue