--- magicrescue-1.1.9.old/Makefile.in +++ magicrescue-1.1.9/Makefile.in @@ -37,7 +37,7 @@ $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $< .o: - $(CC) -o $@ $(LDFLAGS) $< + $(CC) -o $@ $(CPPFLAGS) $(CFLAGS) $< .pod.1: pod2man --release "$(RELEASE)" --center "Magic Rescue" $< $@ --- magicrescue-1.1.9.old/doc/dupemap.pod +++ magicrescue-1.1.9/doc/dupemap.pod @@ -246,7 +246,7 @@ B depends on a database library for storing the checksums. It currently requires the POSIX-standardized B library, which must be present on XSI-compliant UNIXes. Implementations are not required to handle -hash key collisions, and a faliure to do that could make B delete +hash key collisions, and a failure to do that could make B delete too many files. I haven't heard of such an implementation, though. The current checksum algorithm is the file's CRC32 combined with its size. --- magicrescue-1.1.9.old/src/magicrescue.c +++ magicrescue-1.1.9/src/magicrescue.c @@ -424,7 +424,7 @@ To add more operations: - Add another type to union param if you have to. - Define a test function like op_string that returns 1 on - success and 0 on faliure. + success and 0 on failure. - Add another "else if" clause here. It must assign to op->func and to len. - The value assigned to len should be the maximum number of --- magicrescue-1.1.9.old/src/recur.h +++ magicrescue-1.1.9/src/recur.h @@ -1,3 +1,7 @@ +#if defined(__GNU__) && !defined(PATH_MAX) +#define PATH_MAX 1024 +#endif + #ifndef _RECUR_H #include --- magicrescue-1.1.9.old/tools/laola.pl +++ magicrescue-1.1.9/tools/laola.pl @@ -1,4 +1,4 @@ -# +#!/usr/bin/env perl # $Id: laola.pl,v 0.5.1.5 1997/07/01 00:06:42 schwartz Rel $ # # laola.pl, LAOLA filesystem.