mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Invoking fstat() on what maps to a con-handler stream now produces
information identifying it as a character special file. Side-effect: if the input/output went to a CON:/AUTO window, that window will pop open and stay open. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14910 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: stat_convertfileinfo.c,v 1.6 2005-01-30 09:37:59 obarthel Exp $
|
||||
* $Id: stat_convertfileinfo.c,v 1.7 2005-04-02 13:25:53 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -81,6 +81,8 @@ __convert_file_info_to_stat(
|
||||
mode = S_IFIFO;
|
||||
else if (fib->fib_DirEntryType == ST_SOCKET)
|
||||
mode = S_IFSOCK;
|
||||
else if (fib->fib_DirEntryType == ST_CONSOLE)
|
||||
mode = S_IFCHR;
|
||||
else if (fib->fib_DirEntryType < 0)
|
||||
mode = S_IFREG;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user