Uli Schroeter - 2013-04-02

just working on a general bugfix
zfree() routine in file_<your-os>.c requires limitation set to 2 GB in any calculation of clusters, bps, splc

/* 2 GB limit ... for DOS and OS/2 drives .. but what is with */
/* connected network drives ? */
/* limit return value to 2 GB limit */
/* despite the count of clusters available */
if ((clusters > 0L) && (bps > 0L) && (spcl > 0L))
{
if (clusters > 0x01ffffffL) /* OK */
{
/* Overflow !!! limit available clusters */
return ((0x01ffffffL) * ((bps / 64L) * spcl));
}
else
{
return (clusters * ((bps / 64L) * spcl));
}
}
else
{
return (0L);
}

Current w32 revision have a rewrite included that has this limitation probably still set

u60