diff options
author | Christopher Faylor <me@cgf.cx> | 2003-09-11 23:30:26 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-09-11 23:30:26 +0000 |
commit | 9e24b8ace9ef4865df9e1f2f23313be45abeca21 (patch) | |
tree | b7005ab92fc07ed061e5f50637577e0ad4648459 /winsup/cygwin/path.h | |
parent | ce044d8fe026989fdc02f5a30a1cf2b7e6a36d85 (diff) | |
download | cygnal-9e24b8ace9ef4865df9e1f2f23313be45abeca21.tar.gz cygnal-9e24b8ace9ef4865df9e1f2f23313be45abeca21.tar.bz2 cygnal-9e24b8ace9ef4865df9e1f2f23313be45abeca21.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 1 |
1 files changed, 1 insertions, 0 deletions
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]; |