diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2009-01-13 15:42:55 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2009-01-13 15:42:55 +0000 |
commit | 56a22e7a5698df5c030943565a0fb11d45acef76 (patch) | |
tree | 45eb166e08c478cc8fd678bb4bf31c894b73bb45 /sysutils/dupmerge/files/patch-dupmerge.c | |
parent | ua is a simple command-line tool that finds sets of identical files. (diff) |
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
Notes
Notes:
svn path=/head/; revision=225975
Diffstat (limited to 'sysutils/dupmerge/files/patch-dupmerge.c')
-rw-r--r-- | sysutils/dupmerge/files/patch-dupmerge.c | 10 |
1 files changed, 10 insertions, 0 deletions
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 <sys/wait.h> // vfork + #include <time.h> // localtime + ++#include <roken.h> + + #define mc_MIN(a, b) ((a) < (b) ? (a) : (b)) + #define mc_MAX(a, b) ((a) > (b) ? (a) : (b)) |