From 56a22e7a5698df5c030943565a0fb11d45acef76 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Tue, 13 Jan 2009 15:42:55 +0000 Subject: Dupmerge reads a list of files from standard input (eg., as produced by "find . -print") and looks securely for identical files. When it finds two or more identical files, all but one are unlinked to reclaim the disk space and recreated as hard links to the remaining copy. WWW: http://sourceforge.net/projects/dupmerge --- sysutils/dupmerge/files/patch-dupmerge.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sysutils/dupmerge/files/patch-dupmerge.c (limited to 'sysutils/dupmerge/files/patch-dupmerge.c') diff --git a/sysutils/dupmerge/files/patch-dupmerge.c b/sysutils/dupmerge/files/patch-dupmerge.c new file mode 100644 index 000000000000..8c226c5f4de1 --- /dev/null +++ b/sysutils/dupmerge/files/patch-dupmerge.c @@ -0,0 +1,10 @@ +--- dupmerge.c.orig 2008-03-01 17:46:41.000000000 +0100 ++++ dupmerge.c 2009-01-13 15:15:07.000000000 +0100 +@@ -125,6 +125,7 @@ + #include // vfork + #include // localtime + ++#include + + #define mc_MIN(a, b) ((a) < (b) ? (a) : (b)) + #define mc_MAX(a, b) ((a) > (b) ? (a) : (b)) -- cgit v1.2.3