mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- __get_default_file() now dynamically fills in file handles for the
stdin/stdout/stderr streams if it's part of the thread-safe library. - fpathconf() now checks if the file descriptor is really referring to a file. - The termios hook entry code could file descriptor's embedded file handle rather than what the thread safe library had dynamically bound to the stdin/stdout/stderr streams. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15130 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: termios_console_fdhookentry.c,v 1.2 2006-01-08 12:04:27 obarthel Exp $
|
||||
* $Id: termios_console_fdhookentry.c,v 1.3 2006-09-12 14:16:44 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -328,7 +328,7 @@ __termios_console_hook(
|
||||
}
|
||||
else
|
||||
{
|
||||
if(WaitForChar(fd->fd_DefaultFile,100000*tios->c_cc[VTIME]))
|
||||
if(WaitForChar(file,100000*tios->c_cc[VTIME]))
|
||||
result = Read(file,fam->fam_Data,fam->fam_Size);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user