Mailinglist Archive: opensuse-bugs (4687 mails)

< Previous Next >
[Bug 406825] Speedup fdupes
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 15 Feb 2010 15:48:58 +0000
  • Message-id: <20100215154858.D5CE4CC7CE@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=406825

http://bugzilla.novell.com/show_bug.cgi?id=406825#c4


Michal Vyskocil <mvyskocil@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Component|Other |Basesystem
Resolution| |FIXED
AssignedTo|mvyskocil@xxxxxxxxxx |bnc-team-screening@xxxxxxxx
| |ovo.novell.com
Target Milestone|--- |Future 11.3

--- Comment #4 from Michal Vyskocil <mvyskocil@xxxxxxxxxx> 2010-02-15 15:48:57
UTC ---
The original patch looks OK. I removed the Makefile modification. For
endianness I wrote separate fdupes-endianness.patch uses the endian.h from
glibc.

$ cat fdupes-endianness.patch
Index: fdupes-1.40/md5/md5.c
===================================================================
--- fdupes-1.40.orig/md5/md5.c 2010-02-15 15:36:58.000000000 +0100
+++ fdupes-1.40/md5/md5.c 2010-02-15 16:01:34.350140290 +0100
@@ -41,6 +41,15 @@
#include "md5.h"
#include <string.h>

+/* endianness check using glibc endian.h */
+#include <endian.h>
+
+#if __BYTE_ORDER == __BIG_ENDIAN
+# define ARCH_IS_BIG_ENDIAN 1
+#elif __BYTE_ORDER == __LITTLE_ENDIAN
+# define ARCH_IS_BIG_ENDIAN 0
+#endif
+
#ifdef TEST
/*
* Compile with -DTEST to create a self-contained executable test program.

Submitted into Base:System/fdupes - revision 5.

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
This Thread
  • No further messages