summaryrefslogtreecommitdiff
blob: f52908d723d412b7c1c2c2a61e168381ac71e2ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Source: Peter Volkov <pva@gentoo.org>
Upstream: notified (sent email to <adrian2 AT caribe DOT net>
Reason: bugs.gentoo.org/237828 comment #1
With md5sum-external fails on filenames with spaces in their names.

--- fdupes.c	2008-09-17 08:33:26 +0000
+++ fdupes.c	2008-09-17 08:33:42 +0000
@@ -301,7 +301,7 @@
     exit(1);
   }
 
-  sprintf(command, "%s %s", EXTERNAL_MD5, filename);
+  sprintf(command, "%s '%s'", EXTERNAL_MD5, filename);
 
   result = popen(command, "r");
   if (result == NULL) {