Rename hinfo -> dtable. Name the former dtable array 'fdtab'.

This commit is contained in:
Christopher Faylor
2000-08-12 04:48:44 +00:00
parent 86bf05d540
commit 9015e0fb8c
22 changed files with 183 additions and 179 deletions

View File

@ -19,14 +19,14 @@ extern "C"
int
ioctl (int fd, int cmd, void *buf)
{
if (dtable.not_open (fd))
if (fdtab.not_open (fd))
{
set_errno (EBADF);
return -1;
}
debug_printf ("fd %d, cmd %x\n", fd, cmd);
fhandler_base *fh = dtable[fd];
fhandler_base *fh = fdtab[fd];
if (fh->is_tty () && fh->get_device () != FH_PTYM)
switch (cmd)
{