* fhandler.h (dirent_states): Add dirent_saw_proc.

* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fill in "proc" if it is
the root dir and it is missing.
This commit is contained in:
Christopher Faylor
2005-08-19 16:29:43 +00:00
parent 358063ace3
commit 683ef95392
3 changed files with 16 additions and 4 deletions

View File

@ -46,7 +46,8 @@ enum dirent_states
dirent_saw_eof = 0x0004,
dirent_isroot = 0x0008,
dirent_saw_cygdrive = 0x0010,
dirent_saw_dev = 0x0020
dirent_saw_dev = 0x0020,
dirent_saw_proc = 0x0040
};
enum conn_state