[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-tasks] [task #4342] Access to disk data (free space, max file

From: spiralvoice
Subject: [Mldonkey-tasks] [task #4342] Access to disk data (free space, max file name length)
Date: Wed, 13 Jul 2005 20:25:24 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.7) Gecko/20050418 Firefox/1.0.3 (MOOX M2)

Follow-up Comment #14, task #4342 (project mldonkey):

The new functions are only active if <sys/param.h> or <sys/vfs.h>
are present on the system. Only then HAVE_STATS is defined to 1.
For testing you could add this line

+#  define HAVE_STATS 1


+#ifdef HAVE_SYS_VFS_H
+#  include <sys/vfs.h>
+#  define HAVE_STATS 1

to force the compile of the new functions.
"If some C cracks are reading, the case HAVE_STATS 0 is not coded
yet because I do not know how to return "-1" values if none of
the header files and data structures are present."


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]