diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-05-25 09:18:43 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-05-25 09:18:43 +0000 |
commit | a80229fd4934b438677ec3ac2a7cb9f369c0050c (patch) | |
tree | e5684e765ac36191b7e56455ebda72fbf790807d /winsup/cygwin/autoload.cc | |
parent | c295ce6f6e18cac30b0e5313cecad9fdab1809c6 (diff) | |
download | cygnal-a80229fd4934b438677ec3ac2a7cb9f369c0050c.tar.gz cygnal-a80229fd4934b438677ec3ac2a7cb9f369c0050c.tar.bz2 cygnal-a80229fd4934b438677ec3ac2a7cb9f369c0050c.zip |
* autoload.cc (GetDiskFreeSpaceEx): Add.
* syscalls.cc (statfs): Call full_path.root_dir() instead of
rootdir(full_path). Use GetDiskFreeSpaceEx when available and
report space available in addition to free space.
* fhandler_disk_file.cc (fhandler_disk_file::fstat_by_name):
Do not call FindFirstFile for disk root directories.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r-- | winsup/cygwin/autoload.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index 24527f590..71e7f9ead 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -502,6 +502,7 @@ LoadDLLfuncEx (CreateHardLinkA, 12, kernel32, 1) LoadDLLfuncEx (CreateToolhelp32Snapshot, 8, kernel32, 1) LoadDLLfuncEx2 (GetCompressedFileSizeA, 8, kernel32, 1, 0xffffffff) LoadDLLfuncEx (GetConsoleWindow, 0, kernel32, 1) +LoadDLLfuncEx (GetDiskFreeSpaceEx, 16, kernel32, 1) LoadDLLfuncEx (GetSystemTimes, 12, kernel32, 1) LoadDLLfuncEx2 (IsDebuggerPresent, 0, kernel32, 1, 1) LoadDLLfunc (IsProcessorFeaturePresent, 4, kernel32); |