From 9e24b8ace9ef4865df9e1f2f23313be45abeca21 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 11 Sep 2003 23:30:26 +0000 Subject: * 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. --- winsup/cygwin/path.h | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/path.h') diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index f92e2d3dc..cd5656d80 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -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]; -- cgit v1.2.3