* 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:
@ -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];
|
||||
|
Reference in New Issue
Block a user