mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-16 00:30:21 +02:00
Replaced "scm_t_portable" with "scm_port_table" which was an artifact
from the great "scm_*_t -> scm_t_" renaming.
This commit is contained in:
parent
7e8ef316ad
commit
f5fd8aa2a7
5 changed files with 38 additions and 38 deletions
|
@ -300,11 +300,11 @@ SCM_DEFINE (scm_fdes_to_ports, "fdes->ports", 1, 0, 0,
|
|||
|
||||
SCM_VALIDATE_INUM_COPY (1,fd,int_fd);
|
||||
|
||||
for (i = 0; i < scm_t_portable_size; i++)
|
||||
for (i = 0; i < scm_port_table_size; i++)
|
||||
{
|
||||
if (SCM_OPFPORTP (scm_t_portable[i]->port)
|
||||
&& ((scm_t_fport *) scm_t_portable[i]->stream)->fdes == int_fd)
|
||||
result = scm_cons (scm_t_portable[i]->port, result);
|
||||
if (SCM_OPFPORTP (scm_port_table[i]->port)
|
||||
&& ((scm_t_fport *) scm_port_table[i]->stream)->fdes == int_fd)
|
||||
result = scm_cons (scm_port_table[i]->port, result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue