/[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.15 by spiralvoice, Sun Aug 7 17:39:31 2005 UTC revision 1.16 by spiralvoice, Thu Aug 18 12:56:33 2005 UTC
# Line 1090  copy_statfs (struct statfs *buf) Line 1090  copy_statfs (struct statfs *buf)
1090    v = copy_string (buf->f_basetype); caml_modify (&Field (bufv, 9), v);    v = copy_string (buf->f_basetype); caml_modify (&Field (bufv, 9), v);
1091    v = copy_int64 (buf->f_frsize); caml_modify (&Field (bufv, 10), v);    v = copy_int64 (buf->f_frsize); caml_modify (&Field (bufv, 10), v);
1092  #else  #else
1093  #if (defined(__FreeBSD__) && __FreeBSD_version >= 503001) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)  #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
1094  #  if defined(__OpenBSD__) || defined(__NetBSD__)  #  if defined(__OpenBSD__) || defined(__NetBSD__) || (defined(__FreeBSD__) && __FreeBSD_version < 502000)
1095  #    include <sys/syslimits.h>  #    include <sys/syslimits.h>
1096       v = copy_int64 (NAME_MAX); caml_modify (&Field (bufv, 8), v);       v = copy_int64 (NAME_MAX); caml_modify (&Field (bufv, 8), v);
1097  #  else  #  else
# Line 1101  copy_statfs (struct statfs *buf) Line 1101  copy_statfs (struct statfs *buf)
1101  #    else  #    else
1102         v = copy_int64 (buf->f_namemax); caml_modify (&Field (bufv, 8), v);         v = copy_int64 (buf->f_namemax); caml_modify (&Field (bufv, 8), v);
1103  #    endif /* (__APPLE__) */  #    endif /* (__APPLE__) */
1104  #  endif /* (__OpenBSD__) || defined(__NetBSD__) */  #  endif /* (__OpenBSD__) || defined(__NetBSD__) || (defined(__FreeBSD__) && __FreeBSD_version < 502000) */
1105    v = copy_string (buf->f_fstypename); caml_modify (&Field (bufv, 9), v);    v = copy_string (buf->f_fstypename); caml_modify (&Field (bufv, 9), v);
1106  #else  #else
1107    v = copy_int64 (buf->f_namelen); caml_modify (&Field (bufv, 8), v);    v = copy_int64 (buf->f_namelen); caml_modify (&Field (bufv, 8), v);
1108    v = copy_string ("-1"); caml_modify (&Field (bufv, 9), v);    v = copy_string ("-1"); caml_modify (&Field (bufv, 9), v);
1109  #endif /* (defined(__FreeBSD__) && __FreeBSD_version >= 503001) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) */  #endif /* defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) */
1110    caml_modify (&Field (bufv, 7), Val_unit);    caml_modify (&Field (bufv, 7), Val_unit);
1111    v = copy_int64 (-1); caml_modify (&Field (bufv, 10), v);    v = copy_int64 (-1); caml_modify (&Field (bufv, 10), v);
1112  #endif /*  ((defined (sun) || defined (__sun__))) */  #endif /*  ((defined (sun) || defined (__sun__))) */

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

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