* fhandler_disk_file.cc (path_conv::ndisk_links): Rename from num_entries.

Accept an argument and calculate any extra links needed based on missing .  and
..  entries.
(fhandler_disk_file::fstat_helper): Always call pc->ndisks_links() to calculate
the number of links.
* path.h (path_conv::ndisk_links): Declare.
This commit is contained in:
Christopher Faylor
2003-09-11 23:30:26 +00:00
parent ce044d8fe0
commit 9e24b8ace9
3 changed files with 64 additions and 29 deletions

View File

@ -164,6 +164,7 @@ class path_conv
DWORD volser () { return fs.serial; }
const char *volname () {return fs.name; }
void fillin (HANDLE h);
unsigned __stdcall ndisk_links (DWORD);
char *normalized_path;
private:
char path[MAX_PATH];