1
0
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:
Olaf Barthel
2005-04-02 13:25:55 +00:00
parent 6f010ddf87
commit 7f9fbc453b
5 changed files with 74 additions and 17 deletions

View File

@ -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