diff options
author | 2008-09-17 08:48:11 +0000 | |
---|---|---|
committer | 2008-09-17 08:48:11 +0000 | |
commit | 3430154b25857c8efacb39f72522f8f66c532e5d (patch) | |
tree | 2fbfa4578efaa6cc3afe9d5a9fb67a0e72e42055 /app-misc/fdupes/files | |
parent | alpha/x86 stable wrt #237738 (diff) | |
download | gentoo-2-3430154b25857c8efacb39f72522f8f66c532e5d.tar.gz gentoo-2-3430154b25857c8efacb39f72522f8f66c532e5d.tar.bz2 gentoo-2-3430154b25857c8efacb39f72522f8f66c532e5d.zip |
Fix qoutation issues reported in bug #237828, thank Chad A. Simmons for report.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo i686)
Diffstat (limited to 'app-misc/fdupes/files')
-rw-r--r-- | app-misc/fdupes/files/fdupes-1.40-external-md5sum-qoutation.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app-misc/fdupes/files/fdupes-1.40-external-md5sum-qoutation.patch b/app-misc/fdupes/files/fdupes-1.40-external-md5sum-qoutation.patch new file mode 100644 index 000000000000..f52908d723d4 --- /dev/null +++ b/app-misc/fdupes/files/fdupes-1.40-external-md5sum-qoutation.patch @@ -0,0 +1,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) { + |