/[mldonkey]/mldonkey/src/utils/lib/stubs_c.c
ViewVC logotype

Diff of /mldonkey/src/utils/lib/stubs_c.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.25 by spiralvoice, Sun Sep 18 19:00:53 2005 UTC revision 1.26 by spiralvoice, Thu Oct 6 13:02:21 2005 UTC
# Line 1068  statfs_statfs (value pathv) Line 1068  statfs_statfs (value pathv)
1068    
1069  #ifdef HAVE_STATS  #ifdef HAVE_STATS
1070  static value  static value
1071  #if ((defined (sun) || defined (__sun__)))  #if ((defined (sun) || defined (__sun__))) || (defined(__NetBSD__) && (__NetBSD_Version__ > 299000000))
1072  copy_statfs (struct statvfs *buf)  copy_statfs (struct statvfs *buf)
1073  #else  #else
1074  copy_statfs (struct statfs *buf)  copy_statfs (struct statfs *buf)
# Line 1125  statfs_statfs (value pathv) Line 1125  statfs_statfs (value pathv)
1125    CAMLparam1 (pathv);    CAMLparam1 (pathv);
1126    CAMLlocal1 (bufv);    CAMLlocal1 (bufv);
1127    const char *path = String_val (pathv);    const char *path = String_val (pathv);
1128  #if ((defined (sun) || defined (__sun__)))  #if ((defined (sun) || defined (__sun__))) || (defined(__NetBSD__) && (__NetBSD_Version__ > 299000000))
1129    struct statvfs buf;    struct statvfs buf;
1130    if (statvfs (path, &buf) == -1)    if (statvfs (path, &buf) == -1)
1131  #else  #else

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26