| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- Index: Makefile
- --- Makefile.orig 2004-04-20 21:57:10.000000000 +0200
- +++ Makefile 2004-06-18 10:14:40.253031000 +0200
- @@ -14,11 +14,11 @@
- compile-static: no-perl-static mactime sorter file test
-
- no-perl:
- - cd src/misc; make "CC=$(CC)" MAKELEVEL=
- - cd src/hashtools; make "CC=$(CC)" MAKELEVEL=
- - cd src/fstools; make "CC=$(CC)" MAKELEVEL=
- - cd src/mmtools; make "CC=$(CC)" MAKELEVEL=
- - cd src/srchtools; make "CC=$(CC)" MAKELEVEL=
- + cd src/misc; make -e "CC=$(CC)" OPT=-O MAKELEVEL=
- + cd src/hashtools; make -e "CC=$(CC)" OPT=-O MAKELEVEL=
- + cd src/fstools; make -e "CC=$(CC)" OPT=-O MAKELEVEL=
- + cd src/mmtools; make -e "CC=$(CC)" OPT=-O MAKELEVEL=
- + cd src/srchtools; make -e "CC=$(CC)" OPT=-O MAKELEVEL=
-
- no-perl-static:
- cd src/misc; make "CC=$(CC)" OPT=-static MAKELEVEL=
- Index: src/fstools/ntfs.c
- --- src/fstools/ntfs.c.orig 2004-05-08 21:48:09.000000000 +0200
- +++ src/fstools/ntfs.c 2004-06-18 10:25:58.526356000 +0200
- @@ -752,7 +752,7 @@
- ((int)attr <= ((int)attrseq + len)) &&
- (getu32(fs, attr->len) > 0 &&
- (getu32(fs, attr->type) != 0xffffffff));
- - (int)attr += getu32(fs, attr->len))
- + *((int *)attr) += getu32(fs, attr->len))
- {
- /* Get the type of this attribute */
- u_int32_t type = getu32(fs, attr->type);
- Index: src/mmtools/mm_tools.h
- --- src/mmtools/mm_tools.h.orig 2004-07-30 07:22:58 +0200
- +++ src/mmtools/mm_tools.h 2004-08-02 10:42:54 +0200
- @@ -88,6 +88,14 @@
- #endif
-
- #endif /* FREEBSD */
- +#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4)
- +# ifndef PRIx64
- +# define PRIx64 "llx" /* uint64_t */
- +# endif
- +# ifndef PRIu64
- +# define PRIu64 "llu" /* uint64_t */
- +# endif
- +#endif /* FREEBSD */
-
- /*
- * BSD/OS can handle filesystems > 2GB.
- @@ -107,6 +115,16 @@
- #include <inttypes.h>
- #endif
- +/*
- + * NetBSD
- + *
- + */
- +#if defined(NETBSD16)
- +#define SUPPORTED
- +#define STRTOUL strtoul
- +#endif /* NETBSD */
- +
- +
- #if defined(DARWIN)
- #define SUPPORTED
- #define STRTOUL strtoul
|