[Pkg-privacy-commits] [nautilus-wipe] 65/224: Fix wrong mount filtering (oops)
Ulrike Uhlig
u-guest at moszumanska.debian.org
Thu Jul 7 19:45:35 UTC 2016
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to branch master
in repository nautilus-wipe.
commit 89f06423eaf3f78c71478f6af6c9b9ea5949c551
Author: Colomban Wendling <ban at herbesfolles.org>
Date: Sat Mar 13 00:33:38 2010 +0100
Fix wrong mount filtering (oops)
Mountpoint filtering was inverted in previous commit (kept when not
needed, rejected when needed).
---
nautilus-srm/fill-operation.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nautilus-srm/fill-operation.c b/nautilus-srm/fill-operation.c
index da6be1e..2477185 100644
--- a/nautilus-srm/fill-operation.c
+++ b/nautilus-srm/fill-operation.c
@@ -300,7 +300,7 @@ nautilus_srm_fill_operation_filter_files (GList *paths,
mountpoint = find_mountpoint (file_path, &err);
if (G_LIKELY (mountpoint)) {
- if (g_list_find_custom (work_mounts, mountpoint, g_str_equal)) {
+ if (g_list_find_custom (work_mounts, mountpoint, (GCompareFunc)strcmp)) {
/* the mountpoint is already added, skip it */
g_free (mountpoint);
} else {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/nautilus-wipe.git
More information about the Pkg-privacy-commits
mailing list