summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/syscalls.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r--winsup/cygwin/syscalls.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index eb7066c01..8e151ff55 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -1878,16 +1878,6 @@ statvfs (const char *fname, struct statvfs *sfs)
WinME, to avoid the MS KB 314417 bug */
statusex = GetDiskFreeSpaceEx (root, &availb, &totalb, &freeb);
status = GetDiskFreeSpace (root, &spc, &bps, &freec, &totalc);
- if (!status && statusex)
- {
- /* Grrr, this can happen on 9x when a share isn't attached to
- a drive letter. Fake, fake, hoorah. */
- status = TRUE;
- bps = 512;
- spc = 8;
- while ((totalb.QuadPart % (spc*bps)) && spc > 1)
- spc >>= 1;
- }
if (status)
{
if (statusex)